geoTwoPointEquidistant(point1, point2)
Given two points, this projection guarantees that the distances to the two reference points are proportional to their true distance (geodesic).
import { geoTwoPointEquidistant } from "npm:d3-geo-polygon@2";
const projection = geoTwoPointEquidistant([0, 0], [0, 90]).angle(90);
By default the two points are projection to the horizontal axis: use projection.angle to change the map’s azimuth.
Thanks to polygon clipping, this projection displays 99.9996% of the sphere vs. 78% with circle clipping (this number depends on how far the two reference points are).
The two-point equidistant USA is a common aspect for this projection.