Skip to content

An easy way to create Sankey Diagram with Python and Excel.

License

Notifications You must be signed in to change notification settings

greenzorro/sankey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

sankey

Thanks to this project: https://www.python-graph-gallery.com/

It's easy to create all kinds of charts and diagrams with Python, including Sankey Diagram.

However, I made some improvements to it. With an extra Excel file, it's now possible to set diagram data in two well organized spread sheets, one for nodes and the other for links, rather than doing it in the tricky json way. Save each sheet as an .csv file, then the code reads data from them and inserts it to the json structure.

Just download everything in the assets folder and play with is locally.

See online demo here: https://colab.research.google.com/drive/15WgiAluGPgrnvp9I4QbBVMuy6bA7vbtR?usp=sharing

About

An easy way to create Sankey Diagram with Python and Excel.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published