Task 5
✓ Published0🌍 Public
A bar chart compares air quality index (AQI) to total deaths per million for the first 14 countries in the CSV dataset. Bar heights encode death rates while bar colors shift from blue to red based on AQI value. The visualization uses D3.js version 7, specifically the `d3.csv`, `d3.scaleBand`, `d3.scaleLinear`, `d3.axisBottom`, and `d3.axisLeft` APIs. Hovering over a bar displays a fixed tooltip via mouseover and mouseout events.
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.
MIT Licensed