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