Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Fork of Fork of Pie chart

Public visualization

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

Comments

Sign in to join the discussion.

MIT Licensed