Skip to main content
100%

Zoomable Icicle with Labels and Breadcrumb

✓ Published0🌍 Public
Aarun-subba
Last edited Aug 31, 2020
Created on Aug 31, 2020

This interactive visualization displays hierarchical data as a zoomable icicle chart, using rectangles sized by value and colored by category. Users can click any rectangle to zoom into that branch, while a breadcrumb trail above shows the current path and percentage of the total. The example uses d3.partition, d3.hierarchy, and d3.scaleOrdinal to build the layout, with SVG rect and foreignObject elements for rendering. Breadcrumb polygons are dynamically generated from the ancestor sequence. The code loads data from either biodiversityData.json or data.json, and includes animated transitions via rect.transition and fo.transition.

AI-generated description

Kathleen Cachel

MIT Licensed

Similar vizzes