Skip to main content
100%

Waterman Butterfly

✓ Published0🌍 Public
Mmbostock
Last edited Feb 4, 2020
Created on Jan 4, 2013

This example displays a world map using the Waterman butterfly projection, a polyhedral map projection that unfolds the globe into a butterfly-like shape. The visualization is rendered as an SVG using the D3.js v3 library and the `d3.geo.polyhedron.waterman` plugin, which defines the custom projection. The map includes a graticule, land masses, and country boundaries, with data loaded from a GeoJSON file via `d3.json`. The projection is rotated, scaled, and translated to center the map, and clipped to the sphere's outline.

AI-generated description

The Waterman butterfly projection is available as d3.geo.polyhedron.waterman in the geo.polyhedron D3 plugin. Implemented by Jason Davies; see his interactive rotating version.

gpl-3.0 Licensed

Similar vizzes