Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

piechart

Public visualization

Viewing a saved revision (read-only)

1ec9a61cb339475fbed94e7db1f2f358

piechart

0 stars1🌍 Public
Kkblikitha22@gmail.com
Last edited Apr 4, 2025
Created on Apr 4, 2025
Forked from Hello VizHub

This pie chart visualizes the top 10 countries by average Air Quality Index (AQI) from a CSV file. Each slice represents a country, with its name labeled inside. A legend on the left lists each country with its corresponding AQI value, using colors from the `d3.scaleOrdinal` and `d3.schemeSet3` palette. The chart is rendered as an SVG using `d3.pie` and `d3.arc` to compute slice geometries, and `d3.csv` to load and parse the data.

AI-generated description