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
BBazarbayevManas
Last edited Aug 26, 2019
Created on Aug 26, 2019

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 description

Comments

Sign in to join the discussion.

MIT Licensed