Skip to main content
100%

Smoothed Line Chart

✓ Published0🌍 Public
PPhilippe Rivière
Last edited Jun 13, 2020
Created on Jun 13, 2020

This smoothed line chart tracks daily COVID-19 death counts over time for the top 50 countries, using a log-scaled y-axis and data from the Johns Hopkins Coronavirus Dataset. The chart applies a Gaussian blur to smooth the raw daily values, rendering each country as a line in an SVG. Hovering over any point triggers a Voronoi overlay built with `d3-delaunay`, highlighting the corresponding country's line and displaying a tooltip with the exact date, total deaths, and country name. The visualization uses React with D3 v5 components like `scaleLog`, `scaleTime`, and `axisBottom`.

AI-generated description

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

Hover to see details and illuminate lines.

This variant shows values smoothed using a the d3.blur proposal

MIT Licensed

Similar vizzes