datahappy1 / flask_chartjs_drilldown_example_project

Flask, Chart.js drilldown example project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flask, Chart.js drilldown example project

Flask and Chart.js example project allowing the web application user to drilldown to the detailed data through the main chart data point. In the current version of Chart.js library (March 2020), this functionality is not available. The chart datapoint drilldown feature is covered here.

This example repository uses the Kaggle "covid19" dataset.

*Currently designed to run on Windows, but if you replace Waitress WSGI with Gunicorn for instance, can run also on *nix based OS

Screenshots from the web app

alt text

How to get started

  1. Git clone this repository
  2. Create and activate yourself a Python virtual environment
  3. run pip3 install -r requirements.txt
  4. set your Windows Python working directory to C:\<<<folder where you cloned this repo to>>>\flaskr
  5. run python3 C:\<<<folder where you cloned this repo to>>>\flaskr\app.py

Useful links:

About

Flask, Chart.js drilldown example project

License:MIT License


Languages

Language:HTML 59.5%Language:Python 40.5%