Skip to main content
100%

Circle Packing

✓ Published1🌍 Public
CCalvin Gomez
Last edited May 18, 2020
Created on May 18, 2020

This visualization displays a hierarchical dataset as nested circles, using area to represent the number of descendants in each node. Color distinguishes between constrained and unconstrained nodes, with constrained items shown in gray and unconstrained ones in blue. The layout is computed using D3’s `pack` algorithm, which positions circles within a viewport sized to the browser window. Data is loaded from `data.json` via D3’s `json` function, then processed with `hierarchy` and rendered as SVG `<circle>` elements, with white strokes providing visual separation between adjacent circles.

AI-generated description
MIT Licensed

Similar vizzes