Visualizations for Python
Binary installers for the latest released version are available at the Python package index
pip install hazirisThe package contains a number of wrapper python modules to create Google charts in an HTML file from a pandas data frame.
An example for creating a Material bar chart:
import pandas as pd
import haziris as hz
df = pd.DataFrame([
['2014', 1000, 400, 200],
['2015', 1170, 460, 250],
['2016', 660, 1120, 300],
['2017', 1030, 540, 350]
],
columns = ['Year', 'Sales', 'Expenses', 'Profit']
)
hz.google_material_bar_chart(df, "Google material bar.html", {'legned':'None'})The examples folder, contains more such examples.
- DataTables
- DataTables - Bootstrap 4
- DataTables - Material
- DataTables - Vertical scroll
- Google Area
- Google Bar
- Google Bar Grouped
- Google Bar Stacked
- Google Bubble
- Google Bubble Temperature
- Google Calendar
- Google Candlestick
- Google Column
- Google Column Grouped
- Google Column Stacked
- Google Column Stacked Full
- Google Gantt
- Google Gantt Grouped
- Google Geo
- Google Line
- Google Line Interval
- Google Line Interval Area
- Google Line Trendlines
- Google Material Bar
- Google Material Bar Horizontal
- Google Material Line
- Google Material Scatter
- Google Material Scatter Dual Y
- Google Pie
- Google Pie 3D
- Google Pie Donut
- Google Sankey
- Google Sankey Multiple
- Google Scatter
- Google Scatter Diff
- Google Scatter Dual Y
- Google Stepped Area
- Google Timeline
- Google Timeline Grouping
- Google Timeline Label
- Google Timeline No Label
- Google Treemap
- Google Treemap Highlights