Skip to main content
100%

Temperature in San Francisco Line Plot.js

✓ Published1🌍 Public
Dddperdue
Last edited Mar 27, 2020
Created on Mar 24, 2020

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 description
MIT Licensed

Similar vizzes