🌍 Public
Viewing a saved revision (read-only)
0f101d27a9ae4229b6566dc3fc2a8e9c
ICE7 Pie chart
A pie chart displays the top ten U.S. states by Democratic votes in the 2020 election, with each slice labeled by state and colored via a d3.scaleOrdinal. The chart is rendered as an SVG using d3.pie and d3.arc, with labels positioned via d3.arc centroid. Data loads from a CSV fetched with d3.csv, and the chart updates reactively in a React component using hooks.
AI-generated description