Patechoc / flask_pie_highcharts_demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Demo of a Flask app displaying a Highcharts's Drilldown pie chart

The interesting part in this small example is simply to see how Flask fetch data provided by a Python backend (here hardcoded in another module: data.py), and how it uses it with Jinja2 and the HTML templates

Installation with Poetry

poetry install

Run the app

poetry shell
python -m app

Open http://localhost:8080/ in your favorite browser!

How it works?

This demo is a Flask app.

It generates HTML code based on a template.

About

License:GNU General Public License v3.0


Languages

Language:Python 42.0%Language:HTML 22.4%Language:CSS 19.9%Language:JavaScript 15.8%