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

Annotating individual flows lines with values #57

Closed
pvphaneuf opened this issue Aug 9, 2018 · 4 comments
Closed

Annotating individual flows lines with values #57

pvphaneuf opened this issue Aug 9, 2018 · 4 comments

Comments

@pvphaneuf
Copy link

pvphaneuf commented Aug 9, 2018

It would be nice to have a way of annotating individual flow lines, where one could annotate the value represented by a flow line for the sake of presentations.

For instance, annotating a value on each of the lines coming out of "bananas".
image
Could be very cluttered in the attached example, but simpler diagrams could benefit from the inclusion of the mouse-over values statically annotated on each flow.

@ricklupton
Copy link
Owner

Hi @pvphaneuf, thanks for the suggestion and sorry for the slow reply. I think this is a good idea, but it probably needs to be added as a feature to the underlying d3-sankey-diagram library first. I'll create an issue there to track this.

@ELC
Copy link

ELC commented Sep 13, 2018

A similar feature is already present when one is watching the Sankey online or exported to svg, one could see the exact value of the flow hovering the cursor over it (the svg should be open from browser, tested with Chrome 68).

@ricklupton
Copy link
Owner

Thanks for clarifying, yes, mouse-over is already there -- but static labels are also useful in some cases.

@ricklupton
Copy link
Owner

This is nearly possible now -- see #74

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants