Drill down pie chart test
Drill-down pie chart test is a hierarchical data visualization that shows multi-level categories as nested pie charts, where clicking a sector reveals its sub-categories while the header updates to show the current parent path. The example generates synthetic random data with up to 15 parent sectors, each containing up to 15 children with color-shaded variants. Built with D3 v2, it uses `d3.layout.pie` for the angular layout, `d3.svg.arc` for path generation, and animated transitions via `transition.attrTween` to smoothly redraw sectors when drilling down. Radial gradients per category and a shadow filter enhance the SVG rendering, with all interaction handled through click events on the sector paths.
AI-generated descriptionPlaying with D3.js to get a drill down behavior for a hierarchical data collection represented in pie charts. See live example