Skip to main content
100%

Scatter Plot

✓ Published1🌍 Public
Ssjpeno@wpi.edu
Last edited Sep 16, 2024
Created on Sep 16, 2024

This scatter plot visualizes the relationship between COVID-19 cases and deaths in Massachusetts, using data from a US states CSV file filtered to a single state. The D3.js code, authored by sydneypeno, constructs a linear-scale plot with axes for cases (x-axis) and deaths (y-axis). It implements custom formatting through d3.scaleLinear, axisBottom, and axisLeft functions to generate the chart, rendering data points as semi-transparent steelblue circles. The visualization demonstrates a straightforward correlation between cumulative cases and deaths over time.

AI-generated description

A simple scatter plot with D3 showing the [Covid Data Set ].

Challenge

  • Fork this viz
  • Modify it to show your data
MIT Licensed

Similar vizzes