Skip to main content
100%

Zoomable Icicle

✓ Published0🌍 Public
TThanaporn-sk
Last edited Mar 1, 2017
Created on Mar 1, 2017

This interactive visualization displays a hierarchical dataset using an icicle chart, where nested rectangles represent the flare data’s categories and subcategories. Clicking a rectangle zooms into that level, while clicking the top bar returns to the previous view. The chart is built with D3 v3, using `d3.layout.partition` to compute the layout and `d3.scale.linear` for the x and y coordinates. Animated transitions, driven by `rect.transition()` with a 750-millisecond duration, smoothly rescale the rectangle positions and sizes, with colors assigned via `d3.scale.category20c()` based on parent keys.

AI-generated description

Click anywhere to zoom in, or click on the top bar to zoom out. Built with D3.

forked from <a href='http://bl.ocks.org/mbostock/'>mbostock</a>'s block: <a href='http://bl.ocks.org/mbostock/1005873'>Zoomable Icicle</a>

gpl-3.0 Licensed

Similar vizzes