Skip to main content
100%

Temperature In SanFrancisco : LineChart

✓ Published0🌍 Public
Ssiddu7147
Last edited Mar 11, 2023
Created on Mar 11, 2023
Forked from D3 Starter

This line chart displays worldwide earthquake counts from 2002 to 2015, split into four magnitude categories (5-5.9, 6-6.9, 7-7.9, and 8.0+), with each series drawn as a smoothly curved line in a distinct color. The visualization uses D3 v5's `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, `line`, and `curveBasis` to map the temporal and numeric data to SVG paths. The earthquake dataset is loaded from an external CSV file via `d3.csv`, and the chart renders with axes, gridlines, and a legend that adjusts its appearance after a delay.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes