Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Smoothed Daily Coronavirus Cases Line Chart

Public visualization

Viewing a saved revision (read-only)

16002b7ad18d4d44b97a0175b65cc7dc

Smoothed Daily Coronavirus Cases Line Chart

0 stars0🌍 Public
Hhebelmx
Last edited Jun 10, 2020
Created on Jun 8, 2020

A line chart visualizes daily confirmed coronavirus cases over time for the top 20 countries by cumulative cases, with each country's trajectory smoothed via 30 iterations of a repeated averaging blur technique on the `deathDaily` values. The display uses a logarithmic y-axis and an SVG rendering with React, employing `d3.scaleTime` and `d3.scaleLog` for axes and `d3.line` with monotone interpolation for paths. A Voronoi overlay from `d3-delaunay` enables hover interactions that highlight the active country’s line and show a tooltip with exact case totals and dates. Data comes from the Johns Hopkins Coronavirus dataset.

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 case numbers, smoothed using the repeated averaging technique described in D3: Histogram Blur / Smoothing, for the top 20 countries by cumulative cases.