🌍 Public
Viewing a saved revision (read-only)
c2f0ec42cc2247eb8b2389ba692daf4a
Pie Chart
This pie chart displays the population of states for the year 1994, with each slice colored distinctly and accompanied by a legend showing the state name and population value in thousands. The visualization loads CSV data from a GitHub gist using `d3.csv`, processes it in an async function, and renders the pie using `d3.pie`, `d3.arc`, and `d3.scaleOrdinal` for color mapping, all drawn as SVG elements within a fixed 960x500 viewport. The legend and value labels are appended as SVG groups with formatted numbers via `d3.format`.
AI-generated description