block by emeeks 04d3c26054be96cd5ebf

Ch. 7, Fig. 2 - D3.js in Action

Full Screen

This is the code for Chapter 7, Figure 2 from D3.js in Action showing a hand-crafted GeoJSON object representing the bounding box of Manhatten on a D3 tile map.

The purpose of this figure is to better understand the GeoJSON format, not tile mapping, which is explained in detail later in the chapter.

index.html

tile.js