Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Temperature in SF linechart

Public visualization

Viewing a saved revision (read-only)

90344dd84f0b4de3a4a7cc74a2201690

Temperature in SF linechart

0 stars0🌍 Public
Eedxiao97
Last edited Oct 3, 2019
Created on Oct 3, 2019

This visualization displays earthquake magnitudes and frequency data over time in San Francisco, rendered as a smooth line chart using D3 v5. It plots years on the x-axis against temperature values on the y-axis, with a maroon curve connecting data points. The code uses D3’s scaleTime and scaleLinear for axes, line and curveBasis to generate the smoothed path, and axisBottom and axisLeft with custom tick styling. Data is loaded via d3.csv from a VizHub dataset, with the SVG output driven by index.js and styled through external CSS.

AI-generated description