I have a tree-based layout using d3, based on the collapsable tree layout example here.
As you can see in the demo, the vertical spacing between nodes is constant for each level in the tree, meaning nodes can bunch together while leaving a lot of white space.
Instead, I'd like each level to take up all the vertical space available. For example, a level with 2 child nodes would have nodes spaced at 0% and 100%, while 3 child nodes would be spaced at 0%, 50% and 100%.
Hopefully this is possible!