ICE7 Pie chart
✓ Published0🌍 Public
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 descriptionMIT Licensed