Source: Department of Energy & Climate Change, Tom Counsell.
A demonstration of d3-sankey with node dragging. I couldn't find a version of this example that implemented dragging using the new version of d3-sankey, so this is what I worked out.
forked from mbostock's block: Sankey Diagram
https://d3js.org/d3.v4.min.js
https://unpkg.com/d3-sankey@0.7