🌍 Public
Fork of ICE - 7 Pie Chart Maanas Katta
This pie chart shows the top 10 countries by deaths attributed to air pollution in 2020, with each slice labeled with its death count in thousands and a corresponding color-coded legend. The visualization uses D3 v5 APIs including `d3.pie`, `d3.arc`, `d3.scaleOrdinal`, and `d3.csv` to load and process the data from a GitHub gist. SVG rendering places the chart at center with an outer radius of 175 pixels, while text labels and legend entries are added manually via D3 selections.
AI-generated descriptionMIT Licensed
Comments
Sign in to join the discussion.