All examples By author By category About


Sankey Transitions

This example created for development purposes using the d3-sankey plugin for D3 4.0.

Based on xaranke's port of Mike Bostock's Sankey Diagram with drag behavior enabled and several fixes for the d3 version 4.x release.

It would be nice if d3-sankey's value accessor was configurable, to avoid creating the empty_links data structure in the code below.

forked from syntagmatic's block: Sankey Transitions