ICE 7 PIE CHART
✓ Published0🌍 Public
This pie chart visualizes the populations of the top 10 countries in 2022, with each slice labeled with its population value and accompanied by a color-coded legend. It uses D3 v5 APIs including `pie()`, `arc()`, `scaleOrdinal()`, and `format()` to generate the SVG paths, slice labels, and legend. The data is loaded asynchronously from a CSV via `d3.csv()`, and the chart is rendered with an inner radius of zero and an outer radius of 175 pixels, centered at (250,250) in an SVG canvas.
AI-generated descriptionMIT Licensed