Skip to main content
100%

Smoothed Daily Coronavirus Deaths Line Chart

✓ Published0🌍 Public
JJeet Jain
Last edited Jul 4, 2020
Created on Jul 4, 2020

Smoothed lines trace daily coronavirus deaths over time for the top 50 countries by cumulative deaths, with a logarithmic y-axis. Hovering activates a Voronoi overlay, built with `d3.Delaunay`, to highlight the nearest data point’s country line and display a tooltip with the exact date and death count. Lines are smoothed via repeated averaging in the `blur` helper, and the visualization renders as SVG using React, D3 v5 scales (`scaleTime`, `scaleLog`), and axes from `d3.axisBottom` and `d3.axisLeft`. Data comes from the Johns Hopkins CSSE GitHub repository.

AI-generated description

Line chart of Coronavirus cases to date, by country. Data from Johns Hopkins Coronavirus Dataset.

Hover to see details and illuminate lines.

This variant shows daily death numbers, smoothed using the repeated averaging technique described in D3: Histogram Blur / Smoothing, for the top 20 countries by cumulative deaths.

MIT Licensed

Similar vizzes