All examples By author By category About

tomshanley

Sankey - highlight links by doubleclicking nodes

An adaptation of the Sankey diagram to show traceability of project outputs through to benefits. Double clicking on a node shows the links up and down the model.

We adapted the sankey.js file so that node heights weren't determined by the number and size of incoming/outgoing links, and aligned the ends of the links to the middle of the nodes.

Thanks to Simon Titheridge!