How to capture the outline of a data point so that it looks like the outline of an island

The results are as follows:
image

2 Likes

I have tried convex hull but its effect is not what I want. What I want is a way to fit the outline of the small island around the data point like the picture I uploaded.

2 Likes

Have a look at

Or alternatively d3-contour:

4 Likes

Thank you very much for your answer, it has inspired me how to solve this problem

I also found this more relevant to my needs.

3 Likes

Nice! Note that this link is an unchanged fork of Fil’s notebook @fil/alpha-shapes:

3 Likes

Excellent thread! Thank you all!

1 Like