Skip to main content
100%

Interrupted Homolosine

✓ Published0🌍 Public
PPhilippe Rivière
Last edited Mar 7, 2017
Created on Mar 7, 2017

This example demonstrates D3’s `geoInterruptedHomolosine` projection by rendering a world map with landmasses, country boundaries, and a graticule. It also visualizes the inverse projection by moving a red marker to the geographic coordinates corresponding to the mouse position, using `projection.invert`. The map uses `d3.geoPath` with SVG, TopoJSON for world data, and `d3.geoGraticule`, clipped to a spherical outline. The projection is fitted to the viewport with `fitExtent`.

AI-generated description

This interrupted homolosine projection is available as d3.geoInterruptedHomolosine in d3-geo-projection.

Showing the inverse projection for issue #97.

Forked from <a href='http://bl.ocks.org/mbostock/'>mbostock</a>'s block: <a href='http://bl.ocks.org/mbostock/4458991'>Interrupted Homolosine</a>

gpl-3.0 Licensed

Similar vizzes