Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Temperature in San Fransisco Line Chart

Public visualization

Temperature in San Fransisco Line Chart

0 stars1🌍 Public
SSergio Eijben
Last edited Nov 10, 2020
Created on Nov 6, 2020

This visualization displays a week of temperature readings in San Francisco as a smooth, maroon area chart. The code uses D3 v6 APIs including `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, and `area` with a `curveBasis` generator to render the SVG path. Data is loaded from a CSV file hosted on VizHub, with timestamp and temperature fields parsed before plotting. Grid lines extend across the chart, and axis labels and a title are added via SVG text elements with custom styling.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed