Skip to main content
100%

Peirce Equatorial

✓ Published0🌍 Public
Mmbostock
Last edited Jul 25, 2019
Created on Jul 2, 2016

This example shows the world’s landmasses and country boundaries projected onto a square using the Peirce quincuncial projection, which divides the sphere into a square with a distinctive diamond-like layout. The map is rendered as an SVG using D3 v4 and the `d3.geoPierceQuincuncial` projection from the d3-geo-projection library, with a graticule and a sphere outline drawn via `d3.geoPath` and `d3.geoGraticule`. It loads world-50m GeoJSON data from a gist and uses TopoJSON to extract land features and country meshes for the boundaries.

AI-generated description

The equatorial aspect of the Peirce quincuncial projection, which is available in d3-geo-projection. By setting the clip angle to 90°, you can produce the Adams hemisphere-in-a-square projection.

gpl-3.0 Licensed

Similar vizzes