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 #3766

Open
PBI-David opened this issue Jun 6, 2023 · 1 comment
Open

Convex Hull #3766

PBI-David opened this issue Jun 6, 2023 · 1 comment
Labels
feature-request For requesting new features or transforms

Comments

@PBI-David
Copy link
Contributor

PBI-David commented Jun 6, 2023

Has anyone managed to create a convex hull for grouping points on a scatter chart. Something like the following?

Do we need a new transform for this or is is possible with what we have already?

image

I think one way is adapting the Voronoi transform which uses d3-delaunay which provides a function named delaunay.hull

@PBI-David PBI-David added the feature-request For requesting new features or transforms label Jun 6, 2023
@PBI-David
Copy link
Contributor Author

PBI-David commented Jul 2, 2023

No matter - I figured it out. I'll upload the spec (all done using signals and transforms in Vega) to the following repository in the next few days once I have cleaned it up a little:

https://github.com/PBI-David/Deneb-Showcase

I'll leave the issue open as native support would be preferable (and this version is slow which you can see if you click the gif link to play)

Alt Text

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request For requesting new features or transforms
Projects
None yet
Development

No branches or pull requests

1 participant