Exploring lines across the antimeridian using D3. Given two points on Earth, how to infer the appropriate way to connect them?
The red path is the great-circle distance, and the black path is a straight line connecting the two points. Drag the map left or right to see how the two paths are drawn differently across the antimeridian.