Skip to main content
100%

Albers USA

✓ Published0🌍 Public
Mmbostock
Last edited Feb 9, 2016
Created on May 9, 2013

This example illustrates the Albers USA composite projection by dividing the map into four colored regions, each labeled with the conditional rule that determines which part of the United States it represents. It overlays a world map and graticule to show the geographic context. The visualization uses D3 v3 with `d3.geo.mercator`, `d3.geo.mercator`, `d3.geo.path`, and `d3.geo.graticule` to project and render SVG paths, while the division rectangles and lines are drawn manually to mark the Alaska, Hawaii, Puerto Rico, and lower-48 regions. World land data comes from a remote TopoJSON file.

AI-generated description

A visual explanation of how D3’s Albers USA composite projection divides the earth into four areas, similar to a <i>k</i>-d tree. This only applies to D3 versions prior to 3.1.8, which rewrote the Albers USA projection to use clipping, offering greater flexibility. (See Albers USA + PR for a related example that preserves Puerto Rico.)

gpl-3.0 Licensed

Similar vizzes