Temperature in San Francisco Line Chart
✓ Published0🌍 Public
SSam Lite
Last edited Feb 25, 2020
Created on Feb 18, 2020
Forked from Temperature in San Francisco Scatter Plot
This line chart shows the temperature in San Francisco over a week, with each data point plotted as a semi-transparent circle that highlights in orange on hover. The code uses D3 v5’s `scaleTime` and `scaleLinear` to map timestamps and temperatures, with `axisBottom` and `axisLeft` rendering labeled axes and gridlines. Data is loaded via D3’s `csv` function from a remote dataset. The SVG visualization includes a title, axis labels, and a large margin layout, with styled tick text and hover effects defined in CSS.
AI-generated descriptionMIT Licensed