Temperature in San Francisco Line Chart
✓ Published0🌍 Public
This line chart displays one week of temperature data in San Francisco, showing a smooth trend line with labeled axes for time and temperature. The chart uses the D3 v5 library, leveraging `scaleTime`, `scaleLinear`, `axisLeft`, `axisBottom`, and `line` with `curveBasis` for the smoothed path. Data is loaded from a CSV file via D3’s `csv` function, with timestamps parsed as dates and temperatures as numbers. Axis labels and titles are styled from the included CSS.
AI-generated descriptionThis 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