Skip to main content
100%

Treemap from bl.ocks.org

✓ Published0🌍 Public
MMichał Szumnarski
Last edited Aug 17, 2019
Created on Aug 16, 2019

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 description

An 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

Similar vizzes