Skip to main content
100%

Temperature in San Francisco Line Chart

✓ Published1🌍 Public
VVeerle
Last edited Nov 4, 2020
Created on Nov 4, 2020

This line chart displays one week of temperature measurements in San Francisco, with time on the x-axis and degrees Celsius on the y-axis, using a filled area curve to highlight the daily temperature variation. The visualization loads data from a CSV file provided by Data Canvas - Sense Your City, and renders the chart as an SVG using D3 v6. The code constructs scales with `d3.scaleTime` and `d3.scaleLinear`, generates axes via `d3.axisBottom` and `d3.axisLeft`, and creates the shaded area path with `d3.area` and `d3.curveBasis`.

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.

MIT Licensed

Similar vizzes