HEALPix
✓ Published0🌍 Public
Mmbostock
Last edited Feb 27, 2019
Created on Jan 5, 2013
This example visualizes the Earth’s landmasses and country boundaries using the HEALPix map projection, which partitions the sphere into equal-area cells. The projection is rendered with `d3.geoHealpix()` and applied via `d3.geoPath()`, while a graticule overlays the map. The code loads world-50m GeoJSON data from a gist, projects it with `topojson.feature`, and clips all shapes to a spherical outline using an SVG `<clipPath>`. Styling distinguishes the sphere’s stroke, fill, graticule, land, and boundary layers.
AI-generated descriptiongpl-3.0 Licensed