Fork of Temperature in San Francisco Line Chart
✓ Published0🌍 Public
This line chart displays one week of temperature data in San Francisco, sourced from Data Canvas - Sense Your City. The visualization uses SVG rendering through D3 v5, employing `scaleTime` and `scaleLinear` for the axes, `extent` to compute domains, and `line` with `curveBasis` for the smoothed red temperature path. Axes are generated with `axisBottom` and `axisLeft`, styled with custom tick sizes and labels. The timestamp column is parsed into JavaScript `Date` objects, while temperature values are converted to numbers 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