Anthony Ellis
← All projects

Live data · Canvas

The Ground Under Las Vegas

A day of earthquakes from the USGS, arranged not on a map but on rings around the city I live in — because the only thing I actually want to know is how far away it was.

A polar plot of recent earthquakes arranged by distance and bearing from Las Vegas.
Role
Sole developer
Stack
Vanilla JS · Canvas 2D
Data
USGS 24-hour GeoJSON
Typical day
~200 events worldwide
API keys
None required
Dependencies
None

Leaving the map out

The default way to draw earthquakes is dots on a world map, and I built that first. It looks fine and it answers nothing. At world scale every event near you is in the same three pixels, and the thing you want to know — is that close? — is the one thing the projection destroys.

So the main panel is a polar plot centred on Las Vegas: distance as radius, compass bearing as angle, rings every 200 km out to 800. It is a radar screen, which is a borrowed idea, but it is borrowed from an instrument built to answer exactly this question. A basemap under it would be decoration. There isn't one.

A map is a good default and a bad habit. Before drawing one, it's worth asking whether geography is the question or just the data's native format.

Distance and bearing

Both come from spherical trigonometry rather than treating latitude and longitude as x and y, which falls apart quickly at these latitudes — a degree of longitude in Las Vegas is about 20% shorter than a degree of latitude.

Reading the noise floor

The magnitude panel shows everything the network recorded, and the bottom of it is not geology. Below about M1.5 an event only appears where seismometers happen to be dense, so the chart is partly a map of instrumentation.

That is a real limit on the data and the page says so rather than presenting the floor as if it were the natural rate of small earthquakes. Southern California is over-represented on this chart for the same reason it is over-represented in every earthquake dataset: somebody put a lot of sensors there.

Saying no

The page ends by answering whether any of this is worth worrying about. Nearly every day the answer is no, and it says no — with the count, the largest magnitude and the closest distance behind it.

It would have been easy to make a quiet day feel eventful. Colour the dots red, use the word "activity", let the visitor infer. The honest version says that nothing within 800 km reached the threshold where a person notices without an instrument, and that the Basin and Range does this continuously.

What I'd do next