Skip to main content
100%

ICE-7 Tagore Pie Chart (2)

✓ Published0🌍 Public
Cchilukuritagore1427@gmail.com
Last edited Mar 28, 2024
Created on Mar 28, 2024

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 description

Smiley face implementation with React.

MIT Licensed

Similar vizzes