Skip to main content
100%

Country map + voronoi.find

✓ Published0🌍 Public
PPhilippe Rivière
Last edited Jan 19, 2018
Created on Jan 19, 2018

This visualization uses a Voronoi diagram to divide a world map into regions, each centered on a country's centroid, with the polygons dynamically re-calculated to highlight the spatial relationships between countries. The map is rendered as an SVG using D3 v4, and the Voronoi overlay is generated from the centroids of the countries. The original country shapes are filled in white with black strokes, while the Voronoi cells are drawn as semi-transparent overlays, and the graticule adds a subtle geographic grid. The animation likely involves transitioning between the original country boundaries and the Voronoi cells, or animating the centroids themselves.

AI-generated description

The trick here is that we dissociate MultiPolygons before using centroids.

Built with blockbuilder.org

mit Licensed

Similar vizzes