Below are links to two interactive demos for the Partitioned Local Depths algorithm (PaLD). R code for implementation of the algorithm, as well as additional examples, is available at my Github site.
K. S. Berenhaut, K. E. Moore, R. L. Melvin, A social perspective on perceived distances reveals deep community structure, PNAS, 11 (4), 2022.
Small two-dimensional data