Skip to main content
100%

AlbersUSA inverse proj parameters

✓ Published0🌍 Public
PPhilippe Rivière
Last edited Jul 24, 2017
Created on Oct 2, 2016

This block demonstrates the inverse projection parameters of a modified AlbersUSA projection that includes Puerto Rico, answering a D3.js issue. It renders a U.S. map with red and green guide lines and rectangles marking the boundaries of each sub-projection’s clip extents within the composite projection’s coordinate space. The code uses `d3.geoAlbers`, `d3.geoConicEqualArea`, `d3.geoPath`, and `d3.geoGraticule` with SVG output. It overlays graticules, a sphere outline, and a red center point, while the map mesh comes from TopoJSON data.

AI-generated description

This block to understand how the inverse AlbersUsa works, in answer to d3 issue #1984. In green, values that would work for Puerto Rico.

Forked from <a href='http://bl.ocks.org/mbostock/'>mbostock</a>'s block: <a href='http://bl.ocks.org/mbostock/5629120'>AlbersUSA + PR</a>

gpl-3.0 Licensed

Similar vizzes