block by emeeks c9de86d195920fb35919

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

Full Screen

This is the code for Chapter 2, Figure 14 from D3.js in Action that creates rectangles with height based on the data bound to the selection. The rectangles are positioned along the X axis based on the array position of the datapoint that each retangle represents.

index.html