Temperature in San Francisco Line chart
✓ Published2🌍 Public
Ddavidpiber
Last edited Nov 22, 2019
Created on Nov 22, 2019
Forked from Temperature in San Francisco Scatter plot
This visualization displays temperature measurements in San Francisco over time, using a line chart where the x-axis represents time and the y-axis represents temperature. The chart is rendered as an SVG using D3 v5, with the data loaded from a CSV file containing timestamp and temperature values. The visualization leverages D3’s `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, `line`, and `curveBasis` APIs to create the axes and smooth the line path. Grid lines extend across the plot via negative tick sizes, and the title and axis labels are added as text elements, all styled with large fonts for readability.
AI-generated descriptionMIT Licensed