Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Temperature in San Francisco Line Chart

Public visualization

Fork of Temperature in San Francisco Line Chart

0 stars0🌍 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:

Comments

Sign in to join the discussion.

MIT Licensed