ICE7 - Reusable Scatter Plot_RK
✓ Published0🌍 Public
This visualization displays the top 10 countries by deaths in 2020 attributed to air pollution, using a pie chart with each segment labeled with the death count in thousands. A legend on the right lists each country with its corresponding color and value. The code fetches CSV data from a gist, parses it with `d3.csv`, and renders the chart as SVG using `d3.pie`, `d3.arc`, `scaleOrdinal`, and `format`. The chart is built with D3 v5 within an HTML page.
AI-generated descriptionMIT Licensed