Skip to main content
Public

Share visualization

Loading preview…

Fork of D3 Scatter Plot

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

Fork of D3 Scatter Plot

0
VVonnie
Last edited May 8, 2021
Created on May 4, 2021
Forked from D3 Scatter Plot

This scatter plot visualizes CDC COVID-19 data, plotting daily new deaths against new cases, with each point representing a 14-day moving average. The chart reveals a general correlation where more infected cases correspond to more deaths. Built with D3 v6, the visualization uses `d3.csv` to load the dataset and `d3.scaleLinear` to map values to screen coordinates, with points rendered as SVG circles. Axes are generated using `d3.axisLeft` and `d3.axisBottom`, and the chart fills the entire browser window.

AI-generated description

A vanilla HTML implementation of a D3 scatter plot. Shows the CDC Dataset.

Sourced from CDC as of 4/1/2021

  1. Shows more deaths from more infected cases
  2. Each dot is 14 Day moving average

Comments

Sign in to join the discussion.

MIT Licensed