How to create sankey diagram with gradient color links in Plotly?

Viewed 499

Is there a way to make the links in a Plotly Sankey diagram have a color gradient between the source node color and the end node color? This image is taken from a page linked by the Plotly documentation.

I have seen some discussion on GitHub about this feature in Plotly but they never said if it was actually implemented or not. Ideally the result should still be a vector graphic displayable in a HTML file.

Sankey plot with colored links

0 Answers
Related