Icicle
✓ Published0🌍 Public
This icicle chart visualizes the population hierarchy of Xinjiang, China, using a d3.partition layout. The data is loaded from a JSON file and structured with d3.hierarchy, with node sizes proportional to population values. Each rectangle is colored by its top-level region using a d3.scaleOrdinal with the schemeCategory10 palette, while text labels appear on larger nodes. The visualization renders in SVG, with both rectangles and labels positioned according to the partition’s computed coordinates.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed