Temperature in San Francisco Line Chart
✓ Published0🌍 Public
This line chart displays one week of energy consumption data in San Francisco, sourced from Data Canvas - Sense Your City, with temperature values plotted over time. The visualization uses D3 v5 to render an SVG, employing `d3.scaleTime` and `d3.scaleLinear` for axes, `d3.line` with a `curveBasis` for the smooth path, and `d3.axisLeft` and `d3.axisBottom` for labeled tick marks. Data is loaded via `d3.csv` and parsed into JavaScript Date objects before rendering.
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