🌍 Public
Viewing a saved revision (read-only)
d57f7fab87084ed1bdccb233c758a4f4
Indian air quality
This dashboard visualizes air quality trends across Indian states from 1987 to 2015, showing concentrations of pollutants including SO2, NO2, RSPM, SPM, and PM2.5. A dropdown selector displays time-series line charts for each state, while bar charts compare average pollutant levels across all states. The visualization uses D3.js v6 with SVG rendering, employing `d3.rollups` for aggregating state averages, `d3.scaleBand`, `d3.scaleLinear`, and `d3.line` for data encoding, with color mapping via `d3.scaleOrdinal` and `d3.schemeCategory10`.
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.