Skip to content
Pasha edited this page Apr 1, 2020 · 1 revision

Welcome to the Haziris wiki! A collection of python modules to create visualizations in HTML.

Google Charts

The haziris package contains the following functions to create Google Charts.

Google Area Chart

This module creates the Google Area Chart

def google_area_chart( df, out_file, options=None ):
  """
  Args:
    df       : Pandas data frame
    out_file : HTML output file to be created
    options  : optional dictionary with options for the visualization
  """

The first column of the data frame is the horizontal axis and the other columns will be on the vertical axis.

Google Bar Chart

This module creates the Google Bar Chart

def google_bar_chart( df, out_file, options=None ):
  """
  Args:
    df       : Pandas data frame
    out_file : HTML output file to be created
    options  : optional dictionary with options for the visualization
  """

The first column of the data frame is the horizontal axis and the other columns will be on the vertical axis.

Google Bubble Chart

This module creates the Google Bubble Chart

def google_bubble_chart( df, out_file, options=None ):
  """
  Args:
    df       : Pandas data frame
    out_file : HTML output file to be created
    options  : optional dictionary with options for the visualization
  """

Google Calendar Chart

This module creates the Google Calendar Chart

def google_calendar_chart( df, out_file, options=None ):
  """
  Args:
    df       : Pandas data frame
    out_file : HTML output file to be created
    options  : optional dictionary with options for the visualization
  """

Google Candlestick Chart

This module creates the Google Candlestick Chart

def google_candlestick_chart( df, out_file, options=None ):
  """
  Args:
    df       : Pandas data frame
    out_file : HTML output file to be created
    options  : optional dictionary with options for the visualization
  """

Google Column Chart

This module creates the Google Column Chart

def google_column_chart( df, out_file, options=None ):
  """
  Args:
    df       : Pandas data frame
    out_file : HTML output file to be created
    options  : optional dictionary with options for the visualization
  """

Google Gantt Chart

This module creates the Google Gantt Chart

def google_gantt_chart( df, out_file, options=None ):
  """
  Args:
    df       : Pandas data frame
    out_file : HTML output file to be created
    options  : optional dictionary with options for the visualization
  """

Google Geo Chart

This module creates the Google Geo Chart

def google_geo_chart( df, out_file, options=None ):
  """
  Args:
    df       : Pandas data frame
    out_file : HTML output file to be created
    options  : optional dictionary with options for the visualization
  """

Google Line Chart

This module creates the Google Line Chart

def google_line_chart( df, out_file, options=None, intervals =[]):
  """
  Args:
    df       : Pandas data frame
    out_file : HTML output file to be created
    options  : optional dictionary with options for the visualization
    intervals: Optional list of columns in df to be used as intervals
  """

Google Material Bar Chart

This module creates the Google Material Bar Chart

def google_material_bar_chart( df, out_file, options=None ):
  """
  Args:
    df       : Pandas data frame
    out_file : HTML output file to be created
    options  : optional dictionary with options for the visualization
  """

Google Material Line Chart

This module creates the Google Material Line Chart

def google_material_line_chart( df, out_file, options=None ):
  """
  Args:
    df       : Pandas data frame
    out_file : HTML output file to be created
    options  : optional dictionary with options for the visualization
  """

Google Material Scatter Chart

This module creates the Google Material Scatter Chart

def google_material_scatter_chart( df, out_file, options=None ):
  """
  Args:
    df       : Pandas data frame
    out_file : HTML output file to be created
    options  : optional dictionary with options for the visualization
  """

Google Pie Chart

This module creates the Google Pie Chart

def google_pie_chart( df, out_file, options=None ):
  """
  Args:
    df       : Pandas data frame
    out_file : HTML output file to be created
    options  : optional dictionary with options for the visualization
  """

Google Sankey Chart

This module creates the Google Sankey Chart

def google_sankey_chart( df, out_file, options=None ):
  """
  Args:
    df       : Pandas data frame
    out_file : HTML output file to be created
    options  : optional dictionary with options for the visualization
  """

Google Scatter Chart

This module creates the Google Scatter Chart

def google_scatter_chart(df, out_file, options=None, previous=None):
  """
  Args:
    df       : Pandas data frame
    out_file : HTML output file to be created
    options  : optional dictionary with options for the visualization
    previous : Optional data frame for creating a diff chart
  """

Google Stepped Area Chart

This module creates the Google Stepped Area Chart

def google_stepped_area_chart( df, out_file, options=None ):
  """
  Args:
    df       : Pandas data frame.
    out_file : HTML output file to be created
    options  : optional dictionary with options for the visualization
  """

Google Timeline Chart

This module creates the Google Timeline Chart

def google_timeline_chart(df, out_file, options=None ):
  """
  Args:
    df       : Pandas data frame
    out_file : HTML output file to be created
    options  : optional dictionary with options for the visualization
  """

Google Treemap Chart

This module creates the Google Treemap Chart

def google_treemap_chart( df, out_file, options=None ):
  """
  Args:
    df       : Pandas data frame
    out_file : HTML output file to be created
    options  : optional dictionary with options for the visualization
  """