🌍 Public
Viewing a saved revision (read-only)
69bd31c80cb14969b8c288f942f4f993
Covid_1
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 descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.