Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Temperature in SF Line Chart

Public visualization

Temperature in SF Line Chart

0 stars1🌍 Public
BbeauMarko
Last edited Jul 17, 2020
Created on Jul 17, 2020

This line chart displays one week of temperature data in degrees Celsius for San Francisco, sourced from the Data Canvas - Sense Your City project. The visualization uses D3 v5's `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, and `line` with `curveBasis` to render a smooth path, while gridlines, axis labels, and a title are added via SVG elements. The data is loaded from a CSV file using `csv`, and each timestamp is parsed into a `Date` object before rendering.

AI-generated description

This line chart shows one week of temperature (in degrees Celsius) in San Francisco. The data comes from Data Canvas - Sense Your City

Comments

Sign in to join the discussion.

MIT Licensed