Skip to main content
100%

Fork of ICE - 7 Pie Chart

✓ Published3🌍 Public
Aaashrithd4
Last edited Mar 27, 2022
Created on Mar 27, 2022
Forked from 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
MIT Licensed

Similar vizzes