🌍 Public
Viewing a saved revision (read-only)
ead868353f4b4bbca3a7ba593dbc03d3
task2-1
This visualization displays a pie chart of the Air Quality Index by country, using a categorical color scale to distinguish slices and an accompanying legend with country names and index values. Data is loaded from a CSV hosted on GitHub, with numeric conversion and sorting by index before rendering. The chart uses D3 v5 APIs including `pie()`, `arc()`, `scaleOrdinal` with `schemeCategory10`, and `select`/`append` to build the SVG output.
AI-generated descriptionAir Quality Data Pie Chart gist = 'https://gist.githubusercontent.com/SeshadriKamini7/40caec3702df55ad0799d3757b4e8dc1/raw/584ea90fbfac1d2c195c283b5c79c630ae05a945/Air_Quality.csv'