🌍 Public
Viewing a saved revision (read-only)
aaebfae5f137460390283fa65f0eb995
Fork of ICE - 7 Pie Chart
This visualization shows COVID-19 death counts across Indian states as a pie chart, with a legend listing each state and its corresponding percentage of total deaths. It is rendered as an SVG using D3 v5. The pie chart is generated with `d3.pie()` and `d3.arc()`, while colors are assigned via `d3.scaleOrdinal()`. Data is loaded asynchronously from a CSV file using D3’s `csv()` method. The legend combines colored rectangles with text elements showing the state name and percentage formatted with `d3.format()`.
AI-generated description