Skip to main content
100%

Loximuthal projection & rhumb line

✓ Published0🌍 Public
PPhilippe Rivière
Last edited Feb 23, 2018
Created on Feb 22, 2018

This interactive map uses the loximuthal projection, where rhumb lines (shown in green) appear as straight lines, with the reference parallel adjustable via mouse movement. It demonstrates a custom implementation of the projection using D3 v4 and the d3-geo-projection plugin, rendering land masses from TopoJSON world-atlas data and a graticule via d3.geoPath. The rhumb line is computed from a parametric formula and drawn as an SVG path, while projection.parallel() updates dynamically on mousemove or click events. The visualization also supports window resizing through projection.fitExtent.

AI-generated description

The loximuthal projection is available as d3.geoLoximuthal in the extended geographic projections plugin.

Projection introduced by Karl Siemon in 1935, it was published and forgotten -- then independently recreated by Waldo R. Tobler in 1966, who named it. Implemented in d3-geo-projection by @JasonDavies.

With the loximuthal projection, rhumb lines (aka loxodromes, in green) are straight lines. Formula adapted from http://www.mathpages.com/home/kmath502/kmath502.htm

Mouse over the map to change the reference parallel.

forked from <a href='http://bl.ocks.org/mbostock/'>mbostock</a>'s block: <a href='http://bl.ocks.org/mbostock/3867220'>Loximuthal</a>

gpl-3.0 Licensed

Similar vizzes