Hey everyone,
I'm implementing a d3.js treemap, and wanted to tweak the results of the squarify algorithm to try and control how my nodes end up rendering.
Can anyone give me a link or a quick explanation of how target ratio can be configured and how it affects the squarify algorithm? I noticed that the zoomable treemap example at
http://bost.ocks.org/mike/treemap/ sets the treemap's ratio directly using .ratio(height / width * 0.5 * (1 + Math.sqrt(5))) which is what led me down this path. Also, will this approach work well with a sticky:false treemap?
Hopefully I'm not misunderstanding the usage of this ratio but I'm new to d3.js and wasn't able to find any more info on this topic. Apologies if I missed something obvious.
-Adam