Sankeys with circular links

Guus, a reader of this blog, DMed me to ask whether I “knew of any (open source) JavaScript libraries that can generate circular Sankey diagrams”?

Many of the Sankey diagrams I see on the web are created using d3.js by Mike Bostock. Typically these diagrams are left-to right oriented and have a column structure. What is less common are feedback loops or circular Sankey arrows, like the pink ones in the figure below.

The place to look for is Tom Shanley’s Block.

Here you can find many samples for:

Guus, I hope you can find what you are after there. Enjoy!

1 Comment

  1. Tom Shanley says:

    Thanks for the plug. I’ve also been working on an update to this, and the current thinking is shown in my Observable notebooks
    https://observablehq.com/@tomshanley/sankey-circular-deconstructed
    https://observablehq.com/@tomshanley/sankey-circular-deconstructed-part-2-manual-scaling/2

Comments are closed.