Fork of Temperature in San Francisco Line Chart
✓ Published0🌍 Public
This line chart displays one week of temperature data in San Francisco, sourced from Data Canvas - Sense Your City, with the value mapped to the x-axis and time on the y-axis. The visualization uses D3 v5’s `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, and `line` with `curveBasis` to create a smooth maroon path on an SVG canvas. Axis labels, grid lines, and a title are rendered via SVG text elements, while the data is loaded from a CSV using `d3.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