Temperature in San Francisco Line Chart
✓ Published0🌍 Public
This line chart visualizes one week of temperature data in San Francisco, sourced from Data Canvas - Sense Your City. The chart plots timestamps against temperature in degrees Celsius, featuring a smooth curve rendered as an SVG path and labeled axes. Built with D3 v5, the code uses `scaleTime` and `scaleLinear` for scaling, `axisBottom` and `axisLeft` for axes, and `line` with `curveBasis` to generate the smoothed line. The visualization includes a title, margin-based layout, and grid lines with tick styling.
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