Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of A week in San Francisco - Line chart

Public visualization

Fork of Fork of A week in San Francisco - Line chart

0 stars0🌍 Public
SShishiraRudrabhatla
Last edited Jul 3, 2022
Created on Jul 3, 2022

This line chart visualizes COVID-19 deaths in San Francisco over time, with the area under the curve filled in maroon. Built with D3 v5, it uses `d3.scaleTime` and `d3.scaleLinear` for axes, `d3.area` with `curveBasis` for the filled path, and renders as an SVG. Interactive mouseover events trigger a bisector search to display the death count near the cursor. Data is loaded from a CSV file and parsed as dates and numbers.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed