d3 sankey chart transition not happening on new data

13 views
Skip to first unread message

useitf...@gmail.com

unread,
Feb 26, 2018, 7:45:19 AM2/26/18
to d3-js
    Trying to update the content of d3 sankey chart on mouse click. The new nodes and links are not getting updated. Below is the code and any inputs to fix it would be great.
    
    The new nodes and links remains the same, if its updated with new nodes and links for the new set of data.
    
    Link to the jsfiddle     
Reply all
Reply to author
Forward
0 new messages