Temperature In SanFrancisco : LineChart
✓ Published1🌍 Public
This line chart displays worldwide earthquake statistics from 2002 to 2015, plotting yearly counts across four magnitude categories (5.0–5.9, 6.0–6.9, 7.0–7.9, and 8.0+) as separate colored lines. It uses d3.scaleTime and d3.scaleLinear for axes, d3.line with curveBasis for smooth paths, and d3.axisBottom/axisLeft with gridlines. Data loads from a CSV via d3.csv, rendered as SVG with custom styling for legends, titles, and rotated axis labels.
AI-generated descriptionAn example showing the capabilities of VizHub.
MIT Licensed