Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Project Task 5

Public visualization

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.

Comments

Sign in to join the discussion.

MIT Licensed