Fork of Temperature in San Francisco Line Chart
✓ Published0🌍 Public
This line chart displays one week of hourly temperature readings in San Francisco, with time on the x-axis and degrees Celsius on the y-axis. The visualization uses d3.scaleTime and d3.scaleLinear to map data, and d3.line with curveBasis to draw a smooth path. Axes are rendered via d3.axisBottom and d3.axisLeft, with gridlines specified through tickSize. Temperature data, sourced from Data Canvas - Sense Your City, is loaded as CSV and parsed into JavaScript Date objects and numbers before being displayed in an SVG container.
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