Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Covid_1

Public visualization

Viewing a saved revision (read-only)

db5988817bc24c669ccd05e3ee025503

Covid_1

0 stars0🌍 Public
LLakshmi Keerthi
Last edited Apr 16, 2024
Created on Apr 16, 2024
Forked from Hello VizHub

This example visualizes COVID-19 new cases from a cleaned CSV file, showing a cumulative sum line chart for a selected date. Buttons generated from all available dates let users switch between dates, and the chart updates to display the cumulative case total for that day. The visualization loads data via `d3.csv`, parses dates with `d3.timeParse`, and renders an SVG line using `d3.line` with `d3.scaleTime` and `d3.scaleLinear` axes. It demonstrates D3 v6 event handling, data filtering, and dynamic SVG updates.

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.