This is an example of a Sankey diagram made using d3.js and the sankey plugin.
It has a point of differenc from other Sankey diagrams I have seen in that the nodes can be moved horizontally and vertically.
A description of how it was put together and techniques for implimenting Sankey diagrams in general with d3.js can be found at d3noob.org or you can download the full text in the D3 Tips and Tricks book (for free) from Leanpub.
The data is sourced from the World Resources Institute (http://www.wri.org/chart/world-greenhouse-gas-emissions-2005). Open in full window for full effect.
Hi, I tried the js-code from your example, but it does not work. I can not move nodes left or right. Could you explain what part of the js-code should be changed in order to be able to move the node horizontally. Thanks for the advice.