block by mbostock 09dd5ad7d6bfd40187e0

Map Pan & Zoom III

Full Screen

This example uses d3.behavior.zoom with a canvas transform and pre-projected geometry for map panning and zooming. This approach is faster than reprojecting, but still slower than an SVG transform. A faster variation of this approach is to use dynamic simplification and viewport clipping.

index.html

Makefile

package.json