Skip to main content
100%

Nell–Hammer

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

This example shows the Nell–Hammer map projection, a pseudocylindrical equal-area projection that renders the entire globe as an ellipse. It displays world landmasses in dark gray, country boundaries in white, and a graticule of meridians and parallels in light gray. The code uses the `d3.geo.nellHammer` projection from the `d3.geo.projection` plugin, with `d3.geo.path` to draw the projected geometry. Land and boundary data come from a TopoJSON source (`world-50m.json`), processed via the `topojson` library. Rendering is done with SVG, and the sphere outline is defined once as a reusable `<defs>` element.

AI-generated description

The Nell–Hammer projection is available as d3.geo.nellHammer in the geo.projection D3 plugin.

gpl-3.0 Licensed

Similar vizzes