Temperature in San Francisco Line Chart
✓ Published1🌍 Public
GGabe Nascimento
Last edited Oct 19, 2021
Created on Oct 19, 2021
Forked from Temperature in San Francisco Scatter Plot
This line chart displays one week of temperature in degrees Celsius for San Francisco, using a smooth curved line over time. The visualization loads CSV data from a VizHub-hosted dataset, parsing timestamps and temperature values before rendering. It uses d3.scaleTime and d3.scaleLinear to map data to screen coordinates, d3.line with the curveBasis interpolation for the path, and d3.axisBottom and d3.axisLeft with tick marks and labels. The SVG output includes a title and axis labels, with gridlines styled via the tickSize properties.
AI-generated descriptionThis line chart shows one week of temperature in °C in San Francisco.
MIT Licensed