🌍 Public
Viewing a saved revision (read-only)
c98dbc818f874c96a881a265597684ff
DV2_5_Reusable scatter plot
This reusable scatter plot visualizes COVID-19 rolling averages across US states, with 7-day average deaths per 100k on the x-axis and cases per 100k on the y-axis. It uses D3.js version 6.7’s `scaleLinear`, `axisLeft`, and `axisBottom` to map data from the NY Times COVID-19 dataset. The chart’s core logic is encapsulated in a custom `scatterPlot()` function following the Towards Reusable Charts pattern, allowing configurable width, height, margins, and data accessors. Circles are rendered via SVG, styled with the Share Tech font.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the NY Times Covid-19 Dataset US .