block by mbostock 5914438

Raster & Vector III

Full Screen

Using d3-tile to display raster image tiles underneath some TopoJSON vectors, and d3-zoom for pan & zoom. This version adjusts the transform and stroke-width to update the displayed vector data efficiently. You can instead reproject interactively, but changing the transform is typically much faster. Also see the static version.

Tiles copyright OpenStreetMap contributors.

Updated Example →

index.html