Skip to main content
100%

Temp in San Francisco Line Chart

✓ Published1🌍 Public
IIan Russell
Last edited Feb 16, 2021
Created on Feb 16, 2021

This line chart displays one week of temperature data in San Francisco, sourced from Data Canvas - Sense Your City. The visualization plots temperature in degrees Celsius over time, with a smooth curve connecting the data points. Built using d3.v5, the code employs `d3.scaleLinear`, `d3.scaleTime`, `d3.axisLeft`, and `d3.axisBottom` to construct the axes, while `d3.line` with `d3.curveBasis` generates the smoothed path. The SVG rendering includes axis labels, grid lines, and a title, with data loaded from a CSV file.

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