I am not giving up on D3. I just wanted to point out the limitation in the default tree layout and the complexity around it. In fact there was a discussion about variable sized nodes in GH and a plugin is in place now. Might be useful for you if you are heading down the same path - <a href="https:&#x2F;&#x2F;github.com&#x2F;mbostock&#x2F;d3&#x2F;issues&#x2F;1992" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;mbostock&#x2F;d3&#x2F;issues&#x2F;1992</a>