🌍 Public
Viewing a saved revision (read-only)
977c713ccef74ca39514e8b36dcb7c9e
Fork of Pie Chart
This pie chart shows the Democratic state populations for the top 10 states by vote count, with a legend displaying each state’s name and population in millions. The visualization uses D3 v5 APIs including `d3.pie`, `d3.arc`, and `d3.scaleOrdinal`, rendering SVG paths with mouseover logging. Data is loaded from a CSV via `d3.csv` and sorted descending before slicing the first 10 entries. Tooltips are not implemented; instead, hovering logs values to the console.
AI-generated description