Skip to main content
100%

Activity7.1_Question1

✓ Published0🌍 Public
Ssagipavan2385@gmail.com
Last edited Apr 11, 2025
Created on Apr 11, 2025
Forked from Hello VizHub

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
MIT Licensed

Similar vizzes