Circular references for Sankey graphs are not currently supported: `ERROR: Circularity is present in the Sankey data. Removing all nodes and links.` This would be a fantastically useful optional ability for Plotly.js. I have found an example that uses d3.js here: http://bl.ocks.org/tomshanley/11392275 ...but it is not as developer-friendly as the Plotly.js library.