yingchi / flask-jsSankey

Sankey Chart using d3.js set up with Flask

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

flask-jsSankey

Sankey Chart using d3.js and Flask.

The data source is a static CSV file: no header; each line in the format of source, target, weight

To run:

  1. Make sure you have flask installed
  2. git clone https://github.com/yingchi/flask-jsSankey.git
  3. cd flask-jsSankey
  4. python app.py

Now navigate your browser to http://localhost:5000 to see.

  1. To run the app on a server address, change the host parameter in app.run(host='0.0.0.0')

About

Sankey Chart using d3.js set up with Flask


Languages

Language:HTML 47.5%Language:JavaScript 43.7%Language:CSS 5.4%Language:Python 3.5%