When we get around to deteting points in the scatterplot, this will be useful:
RBush is a high-performance JavaScript library for 2D spatial indexing of points and rectangles. It's based on an optimized R-tree data structure with bulk insertion support.
When we get around to deteting points in the scatterplot, this will be useful:
https://github.com/mourner/rbush
https://github.com/mourner/rbush-knn