block by mbostock 5b2a1d47ae020b9533c24129ada97ff0

Polygon Clipping I

Full Screen

This example demonstrates how to use d3.geoIdentity to clip a polygon to an extent while rendering. You can save the resulting clipped polygon using d3.geoProject.

index.html