Skip to main content
100%

Fork of PIE Chart Aishwarya M

✓ Published0🌍 Public
Eeravellisaimeghana
Last edited Mar 29, 2022
Created on Mar 29, 2022

This example shows the top 10 countries by deaths from air pollution in 2020 using a pie chart. Each slice is labeled with its value in thousands, and a legend lists country names alongside colored swatches and corresponding death counts. The visualization is built with D3.js version 5, using `d3.pie`, `d3.arc`, and `d3.scaleOrdinal` to generate SVG paths and labels. Data is loaded as CSV from a GitHub gist, and the chart is rendered in an SVG container.

AI-generated description
MIT Licensed

Similar vizzes