ICE-7 Tagore Pie Chart (2)
✓ Published0🌍 Public
This pie chart displays state population data for a selected year, with each slice sized proportionally to the population value. The visualization uses D3 v5's `pie()` and `arc()` generators to create the chart, while `scaleOrdinal()` maps state names to a custom color palette. The chart includes labeled slices, a legend, and population figures positioned using `arcGenerator.centroid()`. Data is loaded from a CSV file hosted on GitHub, and the visualization defaults to the first available year column. The React framework is not actually used in the rendering logic, which is plain D3 with SVG.
AI-generated descriptionSmiley face implementation with React.
MIT Licensed