Skip to main content
Public

Share visualization

Loading preview…

D3 Temperature in SF 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

D3 Temperature in SF Area Chart

3
Ccaedcagt76@gmail.com
Last edited Dec 16, 2023
Created on Dec 16, 2023

This area chart visualizes one week of hourly temperature data in San Francisco, using a smooth curved line filled with steelblue. The data is loaded from a CSV file via `d3.csv`, with timestamps parsed as dates and temperatures as numbers. The visualization employs `d3.scaleTime` and `d3.scaleLinear` for axes, `d3.area()` with `curveBasis` to generate the filled path, and `d3.axisLeft` and `d3.axisBottom` for gridlines and tick labels. SVG rendering handles all graphics, with margins and labeled axes for time and temperature.

AI-generated description

This area chart shows one week of temperature (in degress Celcius)in San Francisco, from Data Canvas Sense your City

Comments

Sign in to join the discussion.

MIT Licensed