Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nivo Sankey Chart adjustable node thickness #2616

Open
SpamtonB opened this issue Jun 26, 2024 · 2 comments
Open

Nivo Sankey Chart adjustable node thickness #2616

SpamtonB opened this issue Jun 26, 2024 · 2 comments
Labels
sankey @nivo/sankey package

Comments

@SpamtonB
Copy link

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
Copy link

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

@plouc
Copy link
Owner

plouc commented Jul 3, 2024

@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.

@plouc plouc added the sankey @nivo/sankey package label Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sankey @nivo/sankey package
Projects
None yet
Development

No branches or pull requests

3 participants