Skip to main content
100%

Peirce Quincuncial

✓ Published0🌍 Public
Mmbostock
Last edited Feb 27, 2019
Created on Dec 16, 2012

This example shows the Peirce quincuncial projection, a conformal map that projects the globe onto a square using a complex algorithm. The visualization displays world landmasses in dark gray with white country boundaries, overlaid on a graticule of meridians and parallels, all within a 960-pixel SVG. The code uses `d3.geoPierceQuincuncial()` from the d3-geo-projection library to define the projection, and `d3.geoPath()` to render the projected geometry. It loads world data from a TopoJSON file, specifically via `topojson.feature` for land and `topojson.mesh` for country boundaries. The sphere is outlined in black, and the rendering is handled with SVG paths.

AI-generated description

The Peirce quincuncial projection is implemented as d3.geoPeirceQuincuncial in d3-geo-projection. It is derived from the Guyou projection. See also its equatorial aspect.

gpl-3.0 Licensed

Similar vizzes