Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE 7 PIE CHART

Public visualization

Viewing a saved revision (read-only)

0524457094364aa98e06fa0c713d2bf4

ICE 7 PIE CHART

0 stars0🌍 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