Skip to main content
100%

Data Visualization

✓ Published0🌍 Public
HHassaan Gul
Last edited Apr 12, 2023
Created on Apr 12, 2023
Forked from D3 Starter

This visualization displays earthquake data from a CSV file, plotting year on the x-axis, magnitude on the y-axis, and encoding depth via circle radius. The SVG scatterplot uses d3.csv to load data, then d3.scaleLinear and d3.scaleSqrt for scales, with d3.axisBottom and d3.axisLeft generating the axes. Colored steelblue circles with 0.5 opacity clearly reveal distributions of earthquake events across the recorded timeframe.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes