Skip to main content
100%

covid deaths

✓ Published0🌍 Public
HHarinathChakali33@gmail.com
Last edited Apr 26, 2024
Created on Apr 26, 2024
Forked from Hello VizHub

This example displays a bar chart of total COVID-19 deaths for fourteen countries, with a steelblue bar per nation and a numeric label above each bar. The chart uses D3 v7’s `scaleBand` and `scaleLinear` to map countries and death counts, while `d3.axisBottom` and `d3.axisLeft` render the axes. Interactive tooltips appear on mouseover, showing the country name and formatted death total. The visualization is rendered as an SVG, with data hard-coded in the script.

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