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

7
YYedrup
Last edited Jan 21, 2021
Created on Mar 11, 2020

This line chart displays a week of temperature data for San Francisco, plotting temperature against time over a seven-day period. The visualization uses a smooth, curved line to connect data points, with labeled axes for both time and temperature, alongside a clear title. The code imports functions from D3 v5, including `scaleTime`, `scaleLinear`, `line`, `axisLeft`, and `axisBottom`, to build the chart within an SVG canvas. The data is loaded from a CSV file and mapped to the time and temperature scales, with grid lines and a maroon stroke enhancing readability.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed