Skip to main content
100%

Fork of Temperature in San Francisco Line Chart

✓ Published0🌍 Public
SSaip Can Hasbay
Last edited Jan 20, 2022
Created on Jan 20, 2022

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 description

This 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

Similar vizzes