🌍 Public
Viewing a saved revision (read-only)
6c1c89ec2666421e9fc8db9213cbc776
Fork of Fork of Pie_chart_Us_states_density
A pie chart displays the population density for the top 10 US states, with a legend listing each state and its density value in thousands. The visualization is built using D3 v5, with `d3.pie` and `d3.arc` generating the chart segments, and `d3.scaleOrdinal` providing the color palette. Data is loaded asynchronously from a CSV file hosted on a GitHub gist using `d3.csv`. The chart is rendered as an SVG element, with custom styling applied through a separate CSS file for the title, legend text, and labels.
AI-generated description