Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Pie chart

Public visualization

Viewing a saved revision (read-only)

d4cb131bf8b74510bde8513b2a6ce334

Fork of Fork of Pie chart

0 stars1🌍 Public
Ppravallikayaram12
Last edited Mar 28, 2022
Created on Mar 28, 2022
Forked from Fork of Pie chart

This example shows the top 10 countries by population in 2022 using a pie chart with a side legend. The SVG rendering uses d3.pie and d3.arc to generate colored segments, with population values labeled in thousands on each slice. A scaleOrdinal maps section colors, and the chart draws from a CSV dataset hosted on GitHub. The legend lists each country with its corresponding population value, and the page uses a light yellow background with a blue title.

AI-generated description