🌍 Public
Viewing a saved revision (read-only)
53e9d87e0aec4f2791f65528ee7050a7
Activity7.1_Question1
This pie chart visualizes population distribution across age groups, with each slice labeled and colored by age range alongside a legend for quick reference. The chart is built using D3 v7, employing the `d3.pie()` and `d3.arc()` generators to compute slice angles and paths. Data is loaded asynchronously from a remote CSV file via `d3.csv`, with values parsed as numbers for aggregation. The SVG rendering includes simulated axis labels for "Age Range" and "Total Count," and colors are assigned using `d3.scaleOrdinal` with the `schemeCategory10` palette.
AI-generated description