🌍 Public
Project Task 5
A bar chart visualizes the relationship between air quality index (AQI) and total deaths per million across 14 countries, with bar height representing mortality and color encoding AQI levels. The visualization uses D3 v7 to load CSV data via `d3.csv`, create SVG scales with `d3.scaleBand` and `d3.scaleLinear`, and render axes with `d3.axisBottom` and `d3.axisLeft`. A fixed-position tooltip displays country-specific details on mouseover.
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
Comments
Sign in to join the discussion.