GisForWeb
All tools
Supercluster logo

Supercluster

Open Source

Fast JavaScript library for clustering large GeoJSON point datasets in browsers and Node.js.

License

ISC

About

Supercluster is a fast JavaScript library for spatially indexing and clustering GeoJSON point features. It runs in browsers and Node.js, supports bounding-box and tile queries, and exposes cluster expansion and property aggregation. It was built to power clustering in Mapbox GL JS and is useful for rendering large point datasets efficiently.

Features

  • Clusters large GeoJSON point datasets
  • KD-tree spatial indexing via kdbush
  • Runs in browsers and Node.js
  • Tile and bounding-box queries
  • Cluster expansion and property aggregation
  • Powers clustering in Mapbox GL JS

Details

Type
Library
Pricing
open-source
License
ISC
Hosting
Self-host

Platforms

web

Languages

JavaScript
TypeScript

Data formats

GeoJSON