Tempature Linechart/
✓ Published1🌍 Public
This line chart shows one week of temperature in degrees Celsius in San Francisco, sourced from Data Canvas - Sense Your City. D3's `scaleTime` and `scaleLinear` map time and temperature values to the SVG canvas, with `axisBottom` and `axisLeft` generating the axes and gridlines. The data is loaded via `csv` and rendered as a smoothed path using `line` with `curveBasis`, drawn in hot pink with a 5-pixel stroke. The graph title and axis labels are added as 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.
Code learned from Curran: Curran — Intro to datavisualisation.
MIT Licensed