Closed
Description
- In delaunay + voronoi #917, the Voronoi mark uses the full frame. As a consequence, it doesn't work well with
clip: true
(since it is exactly on the clipping path). the way to fix it might be to add a padding (or inset) option. - Add a curve option on the voronoi cells
- Add a curve option on the hull
- Add a padding option on the hull (see https://observablehq.com/@fil/hull-padding)
- Add an alpha option on the hull (for alpha shapes)
- Create a voronoiLabel mark that does occlusion https://observablehq.com/@d3/voronoi-labels
-
Sub-graphs: Gabriel, Urquhart, and minimal spanning tree #941 - The Delaunay/Voronoi/Hull marks require x and y, and a such don't accept the result of the dodge transform. Not sure how to approach this generic issue, but a simple work-around is to specify a fake and empty y channel:
Plot.voronoiMesh(penguins, Plot.dodgeY("middle", {x: "body_mass_g", y: []}))
(solved by delaunay X and Y are optional #931) - Delaunay and voronoi can work in 1-d (delaunay X and Y are optional #931)
- would be nice to have an option to clip the resulting polygons with an arbitrary geometry (Clip Voronoi cells to arbitrary geometry? #1635 or Arbitrary clip paths #1109)