Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Task9 Questin 1

Public visualization

Viewing a saved revision (read-only)

615233cb12cc40588817f86a81062348

Task9 Questin 1

0 stars1🌍 Public
Mmanohar varma
Last edited Apr 28, 2024
Created on Apr 28, 2024
Forked from Hello HTML

This pie chart shows the top 10 countries by deaths from air pollution in 2020, with each slice labeled with the death count in thousands and a corresponding legend. The visualization uses D3 v5’s `pie` and `arc` generators to create the chart, `scaleOrdinal` for slice colors, and `csv` to load data from a GitHub repository. Slices and legend items are rendered as SVG elements, with text labels positioned using `arcGenerator.centroid`, and the legend displays country names alongside their death totals.

AI-generated description

A bare minimum HTML page.