Fork of Fork of ICE - 7 Pie Chart Maanas Katta
✓ Published0🌍 Public
This visualization displays the top 10 countries by deaths in 2020 due to air pollution, represented as a pie chart of cities with their associated costs of living. Each slice’s color corresponds to a category, and a legend on the right lists each city with its numeric value. The chart is rendered in SVG using D3 v5, with data fetched from a CSV via `d3.csv`. It employs `d3.pie`, `d3.arc`, and `d3.scaleOrdinal` to generate arcs and assign colors, while custom formatting converts raw values into thousands with a “K” suffix.
AI-generated descriptionMIT Licensed