voronoi Play
✓ Published0🌍 Public
RRobertDelgado
Last edited Nov 22, 2017
Created on Nov 19, 2017
A small set of six points defines a Voronoi tessellation, filling a 960 by 500 SVG canvas with colored polygons. Built with d3.v4, it uses `d3.voronoi().extent()` to compute polygon and link geometry from mapped coordinates. Hovering a polygon turns it grey, and on mouse-out it returns to its ordinal `schemeCategory10` color. The underlying seed points appear as fixed circles, while the computed edges are also drawn as lines.
AI-generated descriptionBuilt with blockbuilder.org Inspired by Mike Bostock's vornoi tessalation
mit Licensed