Treemap from bl.ocks.org
This example shows a treemap visualization of the Flare data hierarchy, where each rectangle’s size corresponds to the value of a leaf node, and color encodes the parent category. It uses `d3.treemap` with the `d3.treemapResquarify` tiling algorithm to compute rectangles within a 960x480 SVG canvas. The visualization animates between two aggregation modes (by size and by count) using a `transition` on cell transforms over 750 milliseconds, with a `d3.timeout` automating the mode switch after two seconds. Text labels are clipped and wrapped within each cell.