block by emeeks 66a38345f12cbe3452ec

Topojson Merged Feature Clustering - d3.carto

Full Screen

Zoom in and zoom out to see dynamically clustered and merged features. Quadtree-based feature clustering in d3.carto.map that takes advantage of topojson’s built-in merging functionality.

In contrast to feature clustering with GeoJSON features, which create multipolygons from the clustered features, topojson layers create merged polygons from clustered features.

This also demonstrates map.clusteringTolerance() which allows you to increase or decrease the degree of clustering.

See also simple point clustering and more advanced point clustering that leverages circle-packing.

index.html

d3map.css