Temperature in San Francisco Line Chart
✓ Published0🌍 Public
This line chart displays one week of temperature in degrees Celsius for San Francisco, sourced from the Data Canvas - Sense Your City project. It uses D3 v5 to load CSV data, then applies `scaleTime` and `scaleLinear` to map timestamps and temperature values to SVG coordinates. An `axisBottom` and `axisLeft` render labeled axes with grid lines, while a curved line path, generated via `line` with `curveBasis`, traces temperature trends. The chart includes a title and axis labels, with styling applied through external CSS.
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