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

0

10

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

Dutybound answered 3/9, 2021 at 11:45 Comment(2)
have you solved this issue? I'm interested in doing the same.Tumbledown
@Tumbledown unfortunately not using plotly. People in the github discussion I linked earlier said to try d3-sankey.Dutybound

© 2022 - 2024 — McMap. All rights reserved.