Activity - 7_Question - 1
✓ Published0🌍 Public
This pie chart displays population distribution across continents, with each slice labeled and a matching color-coded legend positioned to the right. The visualization loads CSV data from a GitHub-hosted dataset using `d3.csv`, parses the population values, and renders the chart as SVG. It uses `d3.pie()` to compute arc angles, `d3.arc()` to generate the slice paths, and `scaleOrdinal` to assign categorical colors. The chart includes a bold title and centers the pie within a 600x400 SVG element.
AI-generated descriptionA demonstration of a reusable pie chart. This example uses D3 to render a pie chart from a dataset with 50 rows.
MIT Licensed