Skip to main content
100%

ICE 7 PIE CHART

✓ Published0🌍 Public
SSreejaBellamkonda
Last edited Mar 27, 2022
Created on Mar 27, 2022

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 description
MIT Licensed

Similar vizzes