Skip to main content
100%

Cylindrical Equal-Area

✓ Published0🌍 Public
Mmbostock
Last edited Jul 10, 2016
Created on Sep 13, 2012

This example shows a world map rendered using the cylindrical equal-area projection, with dark landmasses and light country boundaries overlaid on a graticule. The projection’s shape is modified by selecting different standard parallels, such as Gall–Peters or Hobo–Dyer, highlighting how the choice affects the map’s proportions. The visualization uses `d3.geoCylindricalEqualArea` and `d3.geoPath` from the `d3-geo-projection` library to draw the paths, while geodata is loaded as TopoJSON from a GitHub-hosted file. The SVG output is styled with CSS classes for the graticule, land, and boundaries.

AI-generated description

The Cylindrical equal-area projection is available as d3.geoCylindricalEqualArea in d3-geo-projection. Depending on the chosen parallel, this projection is also known as the Lambert cylindrical equal-area (0°), Gall–Peters (45°), Hobo–Dyer (37.5°), and Tobler world-in-a-square (~55.654°).

gpl-3.0 Licensed

Similar vizzes