Skip to main content
Public

Share visualization

Loading preview…

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

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 Fork of A week in San Francisco - Line chart

0
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