Skip to main content
100%

Peirce Equatorial

✓ Published0🌍 Public
PPhilippe Rivière
Last edited Sep 17, 2016
Created on Sep 17, 2016

This example uses the Peirce quincuncial projection to render a world map in an equatorial aspect, displaying the globe as a square with continents shown as dark shapes and borders highlighted in white. The graticule and sphere outline are drawn in gray, and the map is centered with a 45-degree rotation. It employs d3.geoPath with the d3.geoPierceQuincuncial projection from the d3-geo-projection library, and fetches world-50m.json data from a gist to generate landmasses and country 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.

forked from <a href='http://bl.ocks.org/mbostock/'>mbostock</a>'s block: <a href='http://bl.ocks.org/mbostock/1ab623030a9d563271f55c5c55dbaf77'>Peirce Equatorial</a> — I removed one rotation.

gpl-3.0 Licensed

Similar vizzes