Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Temperature in San Francisco Line Chart

Public visualization

Temperature in San Francisco Line Chart

0 stars0🌍 Public
XXenos Panagiotis
Last edited May 21, 2020
Created on May 21, 2020

This line chart visualizes daily temperature fluctuations in San Francisco over a week, with time on the x-axis and temperature on the y-axis. The SVG rendering uses d3.scaleTime and d3.scaleLinear for axes, d3.line with curveBasis for the smoothed path, and d3.axisBottom/axisLeft for gridlines. Data is loaded as CSV from a remote URL, parsed with timestamps converted to Date objects, and dimensions are derived from SVG attributes. Axis labels and a title are positioned using margins.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed