Skip to main content
100%

Temperature in San Francisco Line Chart

✓ Published0🌍 Public
OOla Skoczylas
Last edited May 7, 2020
Created on May 7, 2020

This line chart visualizes one week of temperature data in San Francisco, plotting temperature in degrees Celsius against time. The line is drawn with a smooth curve using d3.line() with curveBasis, while d3.scaleTime() and d3.scaleLinear() map the timestamp and temperature values to the SVG canvas. Axes are generated via d3.axisBottom() and d3.axisLeft(), with gridlines created through tick sizes. The data originates from the Data Canvas - Sense Your City project and is loaded as a CSV file using d3.csv, with all rendering handled through SVG elements.

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