Skip to main content
100%

Two Point Equidistant

✓ Published0🌍 Public
Mmbostock
Last edited Feb 9, 2016
Created on Jan 13, 2013

This example demonstrates the two-point equidistant projection, showing great circles centered on Honolulu and Washington, D.C. as red and blue circles. The map includes world landmasses with the projection applied. The code uses `d3.geo.twoPointEquidistant()` with specified points, `d3.geo.circle()` for generating circles, and `d3.geo.path()` for rendering. It renders to SVG using D3.v3 and topojson, loading world data from a JSON file. The projection is noted as a work in progress with visual artifacts requiring elliptical clipping.

AI-generated description

This example demonstrates the unique property of the two-point equidistant projection: great circles centered around either of the two reference points (here Honolulu and Washington, D.C.) are projected as circles.

The projection implementation is still a work in progress, hence the visual artifacts; it requires elliptical clipping.

gpl-3.0 Licensed

Similar vizzes