Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of COVID-19 Deaths in US (NYT data) Reusable D3 Scatter Plot Framework

Public visualization

Viewing a saved revision (read-only)

c84401c0041444a6904bef6bf7ad00e0

Fork of COVID-19 Deaths in US (NYT data) Reusable D3 Scatter Plot Framework

0 stars0🌍 Public
HHarshit-Prasad
Last edited Apr 18, 2023
Created on Apr 18, 2023

A reusable D3 scatter plot framework displays COVID-19 death rolling averages across the United States over time, sourced from NY Times data. The SVG visualization uses d3.scaleTime and d3.scaleLinear to map dates and values, with d3.axisBottom and d3.axisLeft rendering month, year, and numeric tick labels. Custom title annotations mark the vaccination milestone at 30%, while the code demonstrates a modular chart factory pattern with getter/setter methods for width, height, data, and margins, following the Towards Reusable Charts paradigm.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the NY Times Covid-19 Dataset US .