Skip to main content
100%

Fork of Temperature in San Francisco Line Chart

✓ Published0🌍 Public
MMr.Huang
Last edited Nov 15, 2021
Created on Nov 15, 2021

This line chart visualizes one week of temperature data (in degrees Celsius) for San Francisco, from the Data Canvas - Sense Your City project. The D3 v5 code builds an SVG with time-scaled x-axis and linear y-axis, using `select`, `scaleTime`, `scaleLinear`, `axisLeft`, `axisBottom`, `line`, and `curveBasis` to render a smooth maroon curve. It displays points as steelblue circles, axis labels, tick marks, and a title, with data loaded from a CSV via the `csv` function. The chart focuses on the temperature trend over time, with a clean, readable design.

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