plot icon indicating copy to clipboard operation
plot copied to clipboard

Convex hull mark?

Open mbostock opened this issue 5 years ago • 3 comments

mbostock avatar Feb 24 '21 21:02 mbostock

Half-related: Density Contours Mark (#63).

Fil avatar Feb 25 '21 12:02 Fil

A plot plugin that implements a convex hull: https://observablehq.com/@fil/convex-hull-mark

The hull is computed in screen space, not data space, which is probably what we want in any case.

Fil avatar Sep 28 '21 08:09 Fil

Related: #812 (since d3.Delaunay computes the hull). We could also do an ellipse (i.e. the smallest ellipse containing the data) or a superellipse, cf. geom_ellipse in ggplot2.

Both of these can be done in data space (as transforms); contrast with Delaunay and Voronoi, which should be done as layouts/initializers (#801), since the x and y dimensions are not separable.

Fil avatar Mar 18 '22 13:03 Fil

Implemented in #917.

mbostock avatar Dec 14 '22 22:12 mbostock