Source: based on Department of Energy & Climate Change statistics (2014).
Sankey diagrams show the magnitude of flows between processes using the width of the lines. The example above shows the UK's energy balance, inspired by Mike Bostock's example. This diagram is produced using a new package, d3-sankey-diagram, which improves on the existing d3 sankey plugin in a number of ways.