Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Temperature in SF Line Chart

Public visualization

Temperature in SF Line Chart

0 stars2🌍 Public
LLucas Meirelles
Last edited Oct 24, 2020
Created on Aug 23, 2020

A line chart visualizes a week of temperature readings in San Francisco, plotting timestamp against temperature. The chart is rendered as an SVG using D3 v5, with a smooth curve generated by the `d3.line` and `curveBasis` APIs. Axes are created with `d3.axisLeft` and `d3.axisBottom`, and scales are set via `d3.scaleTime` and `d3.scaleLinear`. Data is loaded from a remote CSV file and formatted before being drawn.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed