plouc / nivo

nivo provides a rich set of dataviz components, built on top of the awesome d3 and React libraries
https://nivo.rocks
MIT License
12.98k stars 1.01k forks source link

Nivo Sankey Chart adjustable node thickness #2616

Open SpamtonB opened 1 month ago

SpamtonB commented 1 month ago

Hi. I'm working on a project using react and Nivo, especially Sankey Chart. Is it possible to adjust node's thickness depending on the node ?

My goal is to get something like that:

image

Have a nice day !

rohitushur commented 1 month ago

I want the same for links , means i want customisable width for different links

plouc commented 1 month ago

@SpamtonB, the underlying library d3-sankey doesn't support dynamic node width, however @rohitushur a dynamic thickness for links should be feasible, but that's not a priority for me, if you want to give it a try, I'd be happy to review.