geoVoronoi polygons()
✓ Published0🌍 Public
PPhilippe Rivière
Last edited Aug 28, 2019
Created on Sep 12, 2016
One hundred random points on a sphere are partitioned into Voronoi polygons using `d3.geoVoronoi`. The orthographic projection, rendered via `d3.geoPath`, displays the colored cells with dark borders and white site markers. A gentle animation rotates the projection continuously by updating the projection’s rotation, redrawing all paths every 50 milliseconds. The example uses `d3.geoOrthographic`, `d3.range`, and `d3.schemeCategory10` for colors, with SVG output.
AI-generated descriptionSkeletal demo for d3.geoVoronoi
by Philippe Rivière.
mit Licensed