Skip to content

nikolamedi/sankey-diagram

Repository files navigation

sankey-diagram

About this exercise

In this exercise I wanted to develop a Sankey diagram in Python. Data from the Tracker of Climate Strategies for Transport has been used. The database has information on transport in Nationally Determined Contributions and Long-term Strategies. As the database assesses how the transport mitigation measures are related to Avoid, Shift and Improve (read about the Avoid-Shift-Improve framework here) among other aspects. So I wanted to see how it can be visualised.

There are two different files, once it was done through the package Holoviews and once through Plotly.

Better alternative

In addition, I compiled Sankey diagrams through RAWGraphs which delivered excellent results (see here).

Source of code

Sankey diagram with Holoviews tutorial: https://coderzcolumn.com/tutorials/data-science/how-to-plot-sankey-diagram-in-python-jupyter-notebook-holoviews-and-plotly

Sankey diagram with Plotly tutorial: https://plotly.com/python/sankey-diagram/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages