Skip to main content
100%

Bermuda bug

✓ Published0🌍 Public
PPhilippe Rivière
Last edited Feb 19, 2014
Created on Feb 19, 2014

The example shows a single, mis-drawn polygon meant to represent the island of Bermuda, but whose coordinates form a tiny, squashed shape that does not match the real island's geography. The visualization highlights a known error in the GeoJSON data, where the polygon’s vertices are placed too close together. Using d3.forceSimulation, the code animates the polygon’s points, pulling them apart with simulated forces to reveal the incorrect layout. The rendering relies on d3.geoPath to draw the polygon on a Canvas, while the underlying GeoJSON source (from a GitHub gist) contains the faulty coordinates. The result is a clear, visual demonstration of a data bug.

AI-generated description

Similar vizzes