Temperature in San Francisco Line Chart
✓ Published0🌍 Public
This line chart displays one week of temperature data (in degrees Celsius) for San Francisco, using a smooth curve to connect daily measurements. The visualization uses D3 v5 with an SVG rendering approach, employing scales like `scaleTime` and `scaleLinear` to map timestamps and temperature values to screen coordinates, while `axisBottom` and `axisLeft` generate the labeled axes. The line is drawn with `d3.line` and a basis curve, and the data is loaded from an external CSV via `d3.csv`, with each timestamp parsed as a JavaScript `Date` object.
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