All examples By author By category About

tomshanley

Sankey in the style of 1960s river freight chart

Further iteration of the Sankey with circular links, this time with arrows to indicate direction.

The arrows are made by appending another path on top of the link part, and which is styled using a stroke-dasharray, with triangles appended that rotated based on two close points on the path.

The Sankey has further improvements to reduce collisions of links that span more than one depth and any nodes.

Also, I've changes how the circular paths are calculates in terms of their vertical height/depth, so they use less space.

Update 4/9/2017: Fixed the function that sorted nodes by breadth.

Built with blockbuilder.org