Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Project Task 5

Public visualization

Viewing a saved revision (read-only)

0b1f301fe9fd4a0881c57e8ad0efba38

Project Task 5

0 stars0🌍 Public
Cchandrikachowdary867@gmail.com
Last edited Apr 26, 2024
Created on Apr 26, 2024
Forked from Hello VizHub

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 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.