Skip to main content
100%

Temperature in San Francisco Line Chart

✓ Published245🌍 Public
CCurran Kelleher
Last edited Apr 28, 2025
Created on Sep 6, 2018

This line chart displays one week of temperature data in degrees Celsius for San Francisco, sourced from Data Canvas - Sense Your City. The visualization shows temperature trends over time, with time on the x-axis and temperature on the y-axis, both rendered using SVG. The code utilizes d3.scaleTime, d3.scaleLinear, d3.axisBottom, d3.axisLeft, and d3.line with a curveBasis smoothing function. Data is loaded via d3.csv from a remote gist URL, with timestamps parsed into Date objects and temperatures converted to numbers 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:

MIT Licensed

Similar vizzes