Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convex hull mark? #154

Closed
mbostock opened this issue Feb 24, 2021 · 4 comments
Closed

Convex hull mark? #154

mbostock opened this issue Feb 24, 2021 · 4 comments
Labels
enhancement New feature or request

Comments

@mbostock
Copy link
Member

No description provided.

@mbostock mbostock added the enhancement New feature or request label Feb 24, 2021
@Fil
Copy link
Contributor

Fil commented Feb 25, 2021

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

@Fil
Copy link
Contributor

Fil commented Sep 28, 2021

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
Copy link
Contributor

Fil commented Mar 18, 2022

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.

@mbostock
Copy link
Member Author

Implemented in #917.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants