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, with time on the x-axis and temperature in Celsius on the y-axis. Using D3 v5 with an SVG rendering approach, the code employs `scaleTime` and `scaleLinear` for axes, `line` with `curveBasis` for the smoothed path, and `axisBottom`/`axisLeft` for tick marks. The chart includes titled axes and a maroon stroke line, loaded via CSV and styled with custom 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