Skip to main content
100%

Temperature in San Fransisco Line Chart

✓ Published1🌍 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
MIT Licensed

Similar vizzes