block by emeeks 975204e819f645ca0d81

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

Full Screen

This is the code for Chapter 2, Figure 16 from D3.js in Action that creates rectangles with height based on the data bound to the selection. Rectangles are being drawn off-screen because the values in the array do not correspond to screen values.

index.html