Skip to main content
Public

Share visualization

Loading preview…

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

A Week in San Francisco Line Chart

1
SSamuel Elbaz
Last edited Nov 4, 2019
Created on Nov 4, 2019

This line chart visualizes temperature fluctuations in San Francisco over a week, using time on the x-axis and temperature on the y-axis. The chart includes labeled axes, grid lines, and a smooth red curve connecting daily data points. Built with D3 v5, the code uses `csv`, `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, and `line` with `curveBasis` to render the SVG path. Data comes from a CSV file loaded via D3’s `csv` function, with timestamps parsed as dates and temperatures converted to numbers.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed