Hierarchical Bar Chart
This example shows a hierarchical bar chart of the flare dataset, where each blue bar represents a folder and its length encodes the total size of contained files. Clicking a bar zooms into that folder, while clicking the background navigates back to the parent. The d3.layout.partition computes node values, while d3.svg.axis scales the x-axis. Transitions animate bars and text as users drill down, using SVG rects and opacity changes.
AI-generated descriptionThis bar chart visualizes hierarchical data using D3. Each blue bar represents a folder, whose length encodes the total size of all files in that folder (and all subfolders). Clicking on a bar dives into that folder, while clicking on the background bubbles back up to the parent folder. The effect is similar to a zoomable partition layout, though in a more conventional display.
forked from <a href='http://bl.ocks.org/mbostock/'>mbostock</a>'s block: <a href='http://bl.ocks.org/mbostock/1283663'>Hierarchical Bar Chart</a>