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 stars0🌍 Public
AAlejandro Zamora Esquivel
Last edited May 30, 2020
Created on May 30, 2020

This line chart displays one week of temperature data in San Francisco, with time on the x-axis and degrees Celsius on the y-axis. The visualization uses D3 v5’s `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, and `line` with a `curveBasis` curve to render the smooth path. Data is loaded via `csv` from a GitHub gist, with timestamps parsed as dates and temperatures as numbers. The SVG rendering includes styled axis labels, gridlines, and a title, all defined in an external stylesheet.

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