Skip to main content
100%

Zoomable Circle Packing

✓ Published0🌍 Public
AAndresAnayaIsaza
Last edited Oct 31, 2016
Created on Oct 31, 2016

This interactive visualization displays a hierarchical dataset as nested circles, where each circle represents a node and its size corresponds to the node's value. Clicking any circle animates a zoom to that node, revealing its children and hiding unrelated elements. The implementation uses d3.layout.pack for the circle layout and d3.interpolateZoom for smooth zoom transitions. The data comes from the flare.json file, which contains a tree structure with named categories and numeric sizes. The visualization renders with SVG circles and labels, with a color scale applied by tree depth.

AI-generated description

Click on any package to zoom in or out. See also this static circle packing example.

forked from <a href='http://bl.ocks.org/mbostock/'>mbostock</a>'s block: <a href='http://bl.ocks.org/mbostock/7607535'>Zoomable Circle Packing</a>

forked from <a href='http://bl.ocks.org/Pacsangon/'>Pacsangon</a>'s block: <a href='http://bl.ocks.org/Pacsangon/7d5ef53e427f3503f29aca832b7ab3c4'>Zoomable Circle Packing</a>

gpl-3.0 Licensed

Similar vizzes