A Sankey Diagram is a visualisation technique that allows to display flows. Several entities are represented by rectangles or text, and linked with arrow that have a width proportional to the

importance of the flow. The use of colours is recommended to make the distinction between groups easier. In python, the Matplotlib library proposes a specific module allowing to realise basic

sankey diagrams. However, I recommend to have a look to the ipysankey widget by Rick Lupton that allows to make amazing interactive Sankey diagrams.

  • Sponsors

  • Matplotlib