Skip to content

Instantly share code, notes, and snippets.

@cdecker
cdecker / README.md
Last active December 14, 2015 03:19 — forked from mbostock/.block

A demo of the d3.geo.tile plugin, which determines which 256x256 tiles are visible in the viewport based on a scale and translate. This demo combines the tile plugin with d3.behavior.zoom for panning and zooming, resulting in a a simple slippy map. Based partly on an example by Tom MacWright.