🌍 Public
Viewing a saved revision (read-only)
acc5b34af9f2418695cf16eb511ac560
task9-1
This pie chart visualizes the Air Quality Index by country, with each slice colored and labeled to show the relative pollution levels. The data is loaded from a CSV file hosted on GitHub and parsed using D3 v5. The chart is rendered as SVG, with pie and arc generators creating the slices, and a legend displaying country names alongside their formatted index values. Title text and ordinal color scaling from `schemeCategory10` complete the presentation.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.