Skip to main content
100%

Question 1 Pie Chart

✓ Published1🌍 Public
Mmeghna.reddy700@gmail.com
Last edited Apr 10, 2024
Created on Apr 10, 2024
Forked from pie chart

A pie chart visualizes the top 10 countries by air pollution-related deaths in 2022, using CSV data from a GitHub gist. Each slice is labeled with its death count in thousands, and a corresponding legend lists country names and values. Built with D3 v5, the code uses `d3.pie`, `d3.arc`, and `scaleOrdinal` to generate and color the chart, while rendering text and SVG elements for labels and the legend.

AI-generated description

Displaying pie chart

MIT Licensed

Similar vizzes