Skip to content
This repository has been archived by the owner on Apr 19, 2021. It is now read-only.

update data #6

Open
jcrichard opened this issue Dec 14, 2016 · 3 comments
Open

update data #6

jcrichard opened this issue Dec 14, 2016 · 3 comments

Comments

@jcrichard
Copy link

Hi,

I try to update datas like https://bl.ocks.org/syntagmatic/77c7f7e8802e8824eed473dd065c450b. Is it possible to do that?
Thanks a lot for this work

@wvengen
Copy link
Member

wvengen commented Dec 14, 2016

Cool example!

The current d3.chart.sankey version doesn't implement d3.chart's update lifecycle event, neither the *:transition lifecycle events (here's a small example of a transition). These would need to be implemented to make something similar as the example you gave. Hope this may provide a starting point.

@jcrichard
Copy link
Author

Thank you. In fact I did it using d3 directly on .nodes, .links .nodes rect and .nodes text with the exit selection. It is working fine.

@wvengen
Copy link
Member

wvengen commented Dec 14, 2016

Ok, I'll leave it open to provide a starting point if someone is interested to implement it.

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

No branches or pull requests

2 participants