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
Vvk
Last edited Aug 30, 2022
Created on Aug 30, 2022

This fork displays a week of temperature data for San Francisco as a smooth line chart, from a Data Canvas dataset. D3 v5’s `scaleTime` and `scaleLinear` map timestamps and temperatures to SVG coordinates, while `axisBottom` and `axisLeft` render labeled grid axes. The `line` generator with `curveBasis` draws the curved path, and the SVG titling and styling come from appended text elements and CSS classes.

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