Fork of Fork of ICE - 7 Pie Chart Maanas Katta
✓ Published0🌍 Public
This visualization shows a pie chart of the top 10 countries by deaths from air pollution in 2020, with each segment labeled in thousands and accompanied by a color-coded legend listing country names and values. The chart is rendered as an SVG using D3.js v5, with data fetched from a CSV file via `d3.csv`. The pie layout is generated with `d3.pie()`, arcs are drawn using `d3.arc()`, and colors are assigned via `d3.scaleOrdinal`. Text labels and legends are appended directly to the SVG selection.
AI-generated descriptionMIT Licensed