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 stars1🌍 Public
BBlackTecno
Last edited Dec 31, 2019
Created on Dec 31, 2019

This line chart visualizes daily temperature readings in San Francisco over time, with time on the x-axis and temperature on the y-axis. Using D3 v5, the code loads CSV data via `d3.csv`, parses timestamps with `new Date()`, and renders a smooth line through the data points with `d3.line`. The chart includes labeled axes (`d3.axisBottom` and `d3.axisLeft`), tick marks, and a title, all drawn as SVG elements within a fixed 960×500 viewport. Styling uses CSS classes for axis text, tick lines, and the steel-blue line path.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed