Temperature in San Francisco Line Chart
✓ Published0🌍 Public
This line chart visualizes one week of temperature in degrees Celsius for San Francisco, sourced from Data Canvas’s Sense Your City dataset. It plots timestamps on the x-axis and temperature on the y-axis, with a smooth curved line connecting the daily readings. The chart uses D3 v5’s `csv`, `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, and `line` with `curveBasis` to render the SVG. Axis labels, a title, and gridlines are drawn via the margin convention, while the single maroon path emphasizes the temperature trend.
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