Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Project dataviz2

Public visualization

Fork of Project dataviz2

0 stars0🌍 Public
Cchinnivikramnunna@gmail.com
Last edited Apr 26, 2024
Created on Apr 24, 2024
Forked from Project dataviz

This interactive bar chart displays total COVID-19 deaths by country within a selected continent, using a dropdown menu to switch between Asia, Europe, Africa, North America, South America, and Oceania. It loads CSV data via `d3.csv` from a GitHub repository, filters rows by continent, and renders an SVG visualization with `d3.scaleBand` and `d3.scaleLinear`. The code uses D3 v7, `d3.axisBottom` and `d3.axisLeft` for axes, and rotates x-axis labels for readability. Each selection rebuilds the chart by clearing and redrawing the SVG.

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