Temperature in San Francisco Line Chart
✓ Published1🌍 Public
A line chart displays one week of temperature data in San Francisco, with time on the x-axis and degrees Celsius on the y-axis. The data comes from Data Canvas – Sense Your City. The visualization uses d3.csv to load the data, then applies d3.scaleTime and d3.scaleLinear for the axes, with axisBottom and axisLeft generating the tick marks. A d3.line path with curveBasis connects the points smoothly, styled with a maroon stroke in an SVG canvas.
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