geoVoronoi mesh()
✓ Published0🌍 Public
PPhilippe Rivière
Last edited Aug 30, 2018
Created on Aug 30, 2018
This example shows a dynamic Voronoi diagram on a globe, with a mesh of cell boundaries overlaid on a rotating orthographic projection. It generates 100 random geographic points, computes their spherical Voronoi tessellation using the `d3.geoVoronoi` plugin, and renders the resulting polygons and sites as SVG paths via `d3.geoPath`. The animation uses `d3.interval` to rotate the projection over time, continuously redrawing all paths. The code relies on D3 v4, the d3-delaunay library, and custom geo-Voronoi logic, with a light beige sphere and dark gray mesh for contrast.
AI-generated descriptionSkeletal demo for d3.geoVoronoi
by Philippe Rivière.
mit Licensed