Skip to main content
Public

Share visualization

Loading preview…

Temperature in San Francisco Area 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

Temperature in San Francisco Area Chart

1
KKaleb LaBarrie
Last edited Sep 19, 2021
Created on Sep 19, 2021

This area chart visualizes one week of temperature data in San Francisco, with time on the x-axis and degrees Celsius on the y-axis. The chart uses a smooth curve (via `d3.curveBasis`) to fill the area beneath the temperature line, and includes labeled axes with gridlines. Built with D3 v7, the code loads CSV data from a URL, parses timestamps and numeric values, and renders the visualization as SVG using `d3.area`, `d3.scaleTime`, and `d3.scaleLinear`. The chart’s title and axis labels are styled with custom CSS.

AI-generated description

This line chart shows one week of temperature (in degrees Celcius) in San Francisco.

Comments

Sign in to join the discussion.

MIT Licensed