Temperature in San Francisco Line Chart
✓ Published0🌍 Public
This line chart displays one week of temperature in San Francisco, with time on the x-axis and degrees Celsius on the y-axis. The visualization shows a smooth curve fitted to the data points. The code uses d3's `csv` parser to load data from a Data Canvas - Sense Your City dataset, then `scaleTime` and `scaleLinear` for the axes. It renders the line using `line` with `curveBasis` and adds axis labels and a title via SVG text elements.
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