Winding Order
✓ Published0🌍 Public
Mmbostock
Last edited Dec 20, 2022
Created on Feb 19, 2017
Two polygon rings, one clockwise and one counterclockwise, demonstrate how winding order affects map projections in d3. Each ring is rendered twice: once with an orthographic projection using d3.geoPath and d3.geoOrthographic, and once with an identity projection, showing arrow markers along the ring path indicating direction. The text labels list the ring coordinates and computed area via d3.geoArea for the orthographic view, and the identity projection's path.area for the second.
AI-generated descriptiongpl-3.0 Licensed