Skip to main content
100%

d3-fuse Map

✓ Published0🌍 Public
Aandrew-reid
Last edited Aug 23, 2018
Created on Aug 23, 2018

This example demonstrates a custom d3-fuse layout that merges overlapping circles by area, applied to geographic data displayed on an OpenStreetMap tileset. The circles are positioned with a Mercator projection via the d3-slippy helper, which provides slippy-map-like panning and zooming. As circles overlap, larger nodes absorb smaller ones, aggregating their area, radius, and child node relationships recursively until no further merges occur. The visualization uses SVG for map rendering and canvas or SVG for the fused circles, highlighting the fusion algorithm’s behavior on clustered geographic points.

AI-generated description

This is a second demonstration of d3-fuse, a clustering library that allows the visual fusion of nodes that are overlapping.

See also this example.

Zooming will recalculate clusters while panning will simply move existing clusters.

The tile map is based on an as of yet experimental slippy map library for D3.

Similar vizzes