Skip to main content
100%

Fork of Temperature in San Francisco Line Chart

✓ Published0🌍 Public
PPijush Barman
Last edited Mar 9, 2021
Created on Mar 9, 2021

This example visualizes one week of temperature data in San Francisco, drawing on observations from the Data Canvas - Sense Your City dataset. The line chart maps timestamps to the x-axis and temperature in degrees Celsius to the y-axis, with a smooth curve applied via `curveBasis`. The visualization is built with D3 v5, using `scaleTime`, `scaleLinear`, `axisBottom`, and `axisLeft` to render axes and grid lines. Data is loaded as CSV and parsed into date objects and numbers, then rendered as an SVG line path within a margin-framed coordinate system.

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