Treemap from bl.ocks.org
✓ Published0🌍 Public
This treemap shows the hierarchical structure of the Flare data set, with nested rectangles sized by either data value or leaf count. Rectangles are colored by parent category and labeled with truncated names. The visualization transitions between the two sizing modes over 750 milliseconds after a two-second delay, using the `d3.treemap` layout with a resquarify tiling function. The implementation uses D3.js v4 to render SVG elements, with text clipping via `clipPath` and an ordinal color scale based on `d3.schemeCategory20`.
AI-generated descriptionAn example of porting a work from bl.ocks.org into VizHub. This is a direct port of Mike Bostock’s Block: Treemap, modified only to split into separate files, and to fit in the space available.
MIT Licensed