🌍 Public
Viewing a saved revision (read-only)
18bd1b5ebb284577ac3d17747dba845d
Fork of pie chart
A pie chart displays the 2022 world population share by continent, aggregated from a CSV file with `d3.csv`. Each slice uses a Tableau10 color from a `d3.scaleOrdinal` and shows the percentage, while a side legend lists continent names with total population and percentage. The chart is rendered as SVG using `d3.pie` and `d3.arc`, with text labels positioned via `outerArc.centroid`.
AI-generated description