Temperature in San Francisco Line Chart
✓ Published1🌍 Public
BBazarbayevManas
Last edited Aug 26, 2019
Created on Aug 26, 2019
Forked from Temperature in San Francisco Scatter plot
This line chart visualizes temperature measurements in San Francisco over a week, with time on the x-axis and temperature on the y-axis. The code loads CSV data from a remote URL, parses timestamps and numeric temperatures, then renders an SVG chart using D3 v5’s `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, and a smooth `curveBasis` line generator. Grid lines are drawn via axis tick marks, and the chart includes axis labels and a title. The visualization uses a simple margin-based layout with an SVG container of 960 by 500 pixels.
AI-generated descriptionMIT Licensed