Plotly Sankey Python. Library plotly plot ly type sankey alpha 0 1 node list pad 15 thickness 20 line list color black width 0 5 label c a1 a2 b1 b2 c1 c2 color rgba 255 0 255 0 8 link list source c 0 1 0 2 3 3 target c 2 3 3 4 4 5 value c 8 4 2 8 4 2 color rgba 0 255 255 0 4. Fig update traces visible value selector dict type sankey type.
For the following examples i ll use plotly with jupyter lab to explore how to create a sankey. We recommend you read our getting started guide for the latest installation or upgrade instructions then move on to our plotly fundamentals tutorials or dive straight in to some basic charts tutorials. It is mainly used in data analysis as well as financial analysis.
Plotly is a free and open source graphing library for python.
It can plot various graphs and charts like histogram barplot boxplot spreadplot and many more. The nodes are specified in nodes and the links between sources and targets in links. We recommend you read our getting started guide for the latest installation or upgrade instructions then move on to our plotly fundamentals tutorials or dive straight in to some basic charts tutorials. Enumerated one of true.