Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity-7 Question1

Public visualization

Activity-7 Question1

0 stars0🌍 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

Comments

Sign in to join the discussion.

MIT Licensed