🌍 Public
Viewing a saved revision (read-only)
c88376c7184b46f78c1d8bf3d510818f
Pie chart ICE7
This pie chart ranks the top five U.S. states by Democratic votes in the 2020 election, showing their relative shares of total votes among those states. Each slice is labeled with its state name, and the chart uses a categorical color scale to distinguish slices. Built with D3 v6, the visualization loads CSV data via `d3.csv`, sorts it descending by Democratic votes, and slices the first five rows. It renders slices using `d3.arc` and positions labels with `arc.centroid`, all within an SVG container.
AI-generated description