Temperature in San Francisco Line Chart
✓ Published1🌍 Public
A line chart displays one week of temperature in San Francisco, with time on the x-axis and temperature in Celsius on the y-axis, using smooth curved lines generated with the D3 `line` generator and `curveBasis`. The SVG rendering includes labeled axes with gridlines, a title, and a maroon stroke line, styled via CSS. Data is loaded from a CSV file using D3's `csv` function, with timestamps parsed as dates and temperatures as numbers. The visualization incorporates `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, and `extent` from d3 v5.
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.
MIT Licensed