D3 Temperature in San Francisco Line Chart
✓ Published1🌍 Public
Aadbirch
Last edited Jan 23, 2023
Created on Jan 23, 2023
Forked from D3 Temperature in San Francisco Scatter Plot
This line chart visualizes temperature variations in San Francisco over a week, using a smooth curved line to show the trend over time. The visualization employs D3 v7's `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, and `line` with `curveBasis` to render the SVG path. The data is loaded from a CSV file, with timestamps parsed into Date objects and temperatures converted to numbers. The chart includes labeled axes, grid lines, and a title, while the line is styled with a maroon stroke and rounded joins.
AI-generated descriptionMIT Licensed