Temperature in SF linechart
✓ Published0🌍 Public
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 descriptionMIT Licensed