Temperature in San Francisco Line Chart
✓ Published3🌍 Public
MMartin Christensen
Last edited Dec 29, 2019
Created on Dec 29, 2019
Forked from Temperature in San Francisco Scatter Plot
This line chart visualizes temperature readings in San Francisco over a week, with a time-scaled x-axis and linear temperature y-axis. The chart includes gridlines, labeled axes, a title, and a smooth blue line connecting the data points. The code uses D3 v5’s `csv` loader to fetch data from a CSV file, `scaleTime` and `scaleLinear` for scales, and `line` with SVG paths for rendering. Axis labels are added via `axisBottom` and `axisLeft`, with custom text elements for titles.
AI-generated descriptionMIT Licensed