voronoi.find(x,y)
finds the nearest cell to the point (x,y)
.
Usage:
Original work by Philippe Rivière for d3-voronoi (available since v4.3.0).
See also the Spherical geoVoronoi.find()
.
Voronoi tesselation forked from mbostock's block.
https://d3js.org/d3.v4.min.js