Skip to main content
100%

Easy earthquakes

✓ Published0🌍 Public
Aandrewxhill
Last edited Jan 14, 2013
Created on Jan 4, 2013

A sequence of earthquakes is animated as expanding red circles on a world map, with each circle's final size proportional to its magnitude. The visualization first renders country borders from CartoDB's `d3_world_borders` table using `d3.geo.mercator` and `d3.geo.path`, then queries earthquake data via `cartodb.SQL` and plays them in chronological order. Each quake circle grows over two seconds via D3 transitions, fading out before the next appears, while `d3.behavior.zoom` allows pan and zoom on the SVG.

AI-generated description

Similar vizzes