bkamapantula / chart-recommender

Python library that implements data-to-viz's chart recommendation rules.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chart Recommender

Python library that implements From data to viz's chart recommendation rules.

Usage

Command-line interface (CLI)

Run recommend.py

python recommend.py

This uses data.xlsx file and recommends few charts as an output:

{'chart_list': ['lollipop', 'bar_plot', 'circular_bar_plot', 'treemap', 'circlepack']}

It runs initiate() function which uses two columns ID (categorical column with unique observations/values) and c1 (numeric column) to recommend charts.

As a service

import recommend

recommend.initiate('')

TODO

CLI tool

  • Accept Google spreadsheet URL as input
  • Accept local data file as input
  • Accept a subset of columns

Contributions

About

Python library that implements data-to-viz's chart recommendation rules.


Languages

Language:Python 100.0%