# Voronoi Diagram The `voronoi` mark shows the regions closest to each point. It is [constructed from its dual](https://observablehq.com/@mbostock/the-delaunays-dual), a Delaunay triangle mesh. Reveal triangulations or convex hulls using the dropdowns. **Credit**: Adapted from an [Observable Plot example](https://observablehq.com/@observablehq/plot-voronoi-scatterplot). ## Specification ::: code-group <<< @/public/specs/esm/voronoi.js [JavaScript] <<< @/public/specs/yaml/voronoi.yaml [YAML] <<< @/public/specs/json/voronoi.json [JSON] <<< @/public/specs/python/voronoi.py [Python] :::