Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Deaths in india

Public visualization

Deaths in india

0 stars0🌍 Public
Rrohinikotha
Last edited Mar 27, 2022
Created on Mar 27, 2022
Forked from Pie Chart

A pie chart visualizes deaths across Indian states, with each slice colored distinctly and labeled with its proportional share. The legend lists state names alongside their corresponding death counts. Built with D3.js v5, the visualization loads CSV data from a GitHub gist and renders an SVG using `d3.pie`, `d3.arc`, and `d3.scaleOrdinal` for color mapping. Text labels are positioned via the arc centroid, while the legend updates dynamically from the same dataset.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed