Temperature in San Francisco Line Plot.js
✓ Published1🌍 Public
This visualization displays a week of temperature readings in San Francisco as a smooth line plot over time, with a clear title and labeled axes. The code uses D3 v5 APIs including `scaleTime`, `scaleLinear`, `line` with `curveBasis`, `axisBottom`, and `axisLeft` to render the SVG chart. Temperature and timestamp data are loaded from a CSV file and parsed before being mapped to scales. Gridlines are created via tick sizes, and the line path is styled with a maroon stroke.
AI-generated descriptionMIT Licensed