Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Temperature in San Francisco Line Chart

Public visualization

Temperature in San Francisco Line Chart

0 stars2🌍 Public
Nnorangai
Last edited Mar 25, 2020
Created on Mar 21, 2020

This line chart visualizes one week of temperature in degrees Celsius in San Francisco, sourced from Data Canvas - Sense Your City. It uses d3.scaleTime and d3.scaleLinear to map timestamps and temperatures to SVG coordinates, with d3.axisBottom and d3.axisLeft for axes. A filled area path is generated using d3.area with curveBasis, styling the region in steelblue. Data is loaded via d3.csv and parsed into Date and numeric objects before rendering.

AI-generated description

This line chart shows one week of temperature (in degrees Celcius) in San Francisco. The data comes from Data Canvas - Sense Your City.

Made in this video:

Comments

Sign in to join the discussion.

MIT Licensed