Sankey Diagram Basics with Python’s Plotly

An elegant option for visualizing flow and comparing proportions

Thiago Carvalho
Towards Data Science
5 min readJun 22, 2020

--

In this article, I’ll go through the basics of using Plotly and Python for drawing Sankey Diagrams.

They’re a convenient chart for visualizing any kind of measurable flow — Some examples are the flow of travelers, spellers, and money.

Sankey’s diagram showing the energy efficiency of a steam engine, 1898

--

--