Skip to main content
100%

Temperature in SF linechart

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

Similar vizzes