Temperature in San Francisco Line Chart
✓ Published0🌍 Public
This line chart visualizes one week of temperature data in San Francisco, sourced from the Data Canvas - Sense Your City initiative. The chart uses D3.js v5 with SVG rendering, and applies `scaleTime` and `scaleLinear` scales for the x and y axes. The code imports functions like `axisLeft`, `axisBottom`, `line`, and `curveBasis` from D3, and draws the line path with a maroon stroke. The title "A Week in San Francisco" and axis labels are included, with data loaded from an external CSV.
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