In the following example: http://bl.ocks.org/mbostock/4063570 you have a dendrogram where all the links all displayed on the right, is there a way to split this in half and show on part on the right and the other part on the left?
I was almost able to do it but it isn't correct: http://jsfiddle.net/8EM4s/3/. I thought by using 2 seperate diagonals to draw the left and the right links would work but the Y values are still calculated like there were directly underneath eachother:
var diagonalLeft = d3.svg.diagonal()
.projection(function(d) { return [-d.y, d.x]; });
var diagonalRight = d3.svg.diagonal()
.projection(function(d) { return [d.y, d.x]; });