Map Clustering Is Not My Favorite(blog.greg.technology)
blog.greg.technology
Map Clustering Is Not My Favorite
https://blog.greg.technology/2026/06/12/map-clustering-is-not-my-favorite.html
2 comments
Recent comments, https://news.ycombinator.com/item?id=48513920
I ended up doing a form of clustering:
- at low and medium zoom: quantize events into a grid, take each cell's centroid, and make more populous circles bigger on a logarithmic scale - clicking lists all relevant events - double-clicking zooms in a level - at high enough zoom, break up the multi-event circles by displacing them along a hexagonal spiral
I still get some overlaps from nearby centroids and overlapping hexes, but generally every point can be reached without infinite zoom.