🌍 Public
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 descriptionMIT Licensed
Comments
Sign in to join the discussion.