erkal
This is supposed to be an answer to this question.
It combines this example with the use of invisible nodes.
Modified http://d3js.org/d3.v3.min.js to a secure url
https://d3js.org/d3.v3.min.js