How do I tell D3 to make the dendrogram vertical (top down) instead of left to right?

Viewed 4772

I'm looking at this example that uses cluster layout to assign the X and Y coordinates to nodes on a dendrogram. How can I tell cluster to layout vertically, top down, instead of the default left to right?

1 Answers
Related