Skip to main content
Public

Share visualization

Loading preview…

Smoothed Line Chart

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Smoothed Line Chart

1 star3
PPhilippe Rivière
Last edited Jun 12, 2020
Created on Jun 11, 2020
View stargazers

Smoothed line chart comparing daily COVID-19 deaths across multiple countries, displayed on a logarithmic y-axis. The visualization uses a Gaussian kernel blur to smooth noisy daily counts, revealing underlying trends. Built with React and D3 v5, it employs `scaleTime`, `scaleLog`, and a custom `line` generator, with a D3 Delaunay Voronoi overlay for hover interactions. Hovering a point highlights the corresponding country’s full trajectory and displays a tooltip with the date and total death count. Data comes from the Johns Hopkins Coronavirus Dataset.

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 Gaussian kernel blur

Ref. D3: Histogram Blur / Smoothing.

Comments

Sign in to join the discussion.

MIT Licensed