Skip to main content
100%

Smoothed Daily Coronavirus Cases Line Chart

✓ Published0🌍 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.

MIT Licensed

Similar vizzes