Skip to main content
100%

Task 5

✓ Published0🌍 Public
VVinish Reddy Kamireddy
Last edited Apr 26, 2024
Created on Apr 26, 2024
Forked from Hello VizHub

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 description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes