Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Project Task 1

Public visualization

Project Task 1

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

This horizontal bar chart visualizes the relationship between gasoline price per liter and total COVID-19 cases per million for the first 20 countries in a CSV dataset. It uses D3 v6 APIs including `d3.csv` for data loading, `d3.scaleLinear`, `d3.scaleBand`, `d3.axisBottom`, and `d3.axisLeft` for axes. Each bar's length encodes case counts while hovering reveals the price via a tooltip.

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