Temperature in San Francisco Line Chart
✓ Published0🌍 Public
This line chart displays one week of temperature data in San Francisco, with time on the x-axis and temperature in degrees Celsius on the y-axis. The visualization uses D3 v5’s `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, and `line` with a basis curve to render the smooth maroon line. Data is loaded via `csv` from an external dataset and parsed into JavaScript `Date` objects and numbers. The chart includes gridlines, axis labels, and a title, all rendered as SVG 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.
Made in this video:
MIT Licensed