Slightly Improved Sankey

Someone posed the question on the community about the fact that the sankey extension object was duplicating nodes rather than allowing intermediaries to work properly.

So I got hold of the D3 code and slightly changed the way it works.
– Now works from three fields; Source Destination and Size
– Added the ability to double click on nodes to select the source or destination
– Number formatting tweak
– Size added to the labels

Included is an example file which includes code to shred a path into the two fields required

Overall this isn’t a huge change, just a small refinement

Install file: sankey


Leave a Reply