Skip to main content
100%

Activity-7 Question1

✓ Published0🌍 Public
Aabjalshaik02@gmail.com
Last edited Nov 7, 2024
Created on Nov 5, 2024
Forked from Hello VizHub

This pie chart visualizes the top 8 countries with the highest death tolls from air pollution, using data from a CSV file. The chart displays the proportional share of deaths for each country, with labels showing values in thousands and a legend mapping colors to country names. The visualization is built with D3 v5, using the `pie()` generator to compute arc angles and `arc()` with an inner radius of zero to draw segments. Text labels are positioned at arc centroids, while the legend is constructed manually using appended SVG elements.

AI-generated description

Piechart Visualization for Top 8 Countries Death due to Air Pollution

MIT Licensed

Similar vizzes