Skip to main content
100%

Gist a4cce0757b78ab1918ce592718da6a33

✓ Published0🌍 Public
PPhilippe Rivière
Last edited Feb 25, 2017
Created on Feb 25, 2017

This example visualizes the centroid of Antarctica, showing how it is calculated and where it falls on a map. It uses D3’s `d3.geoCircle` and `d3.geoCentroid` to compute the centroid of a circular polygon centered on the South Pole, then loads an Antarctic GeoJSON file to find the continent’s actual centroid. The map is rendered as SVG using `d3.geoPath` with an azimuthal equal-area projection, including a graticule, to display the result.

AI-generated description

Similar vizzes