block by emeeks cceabdb4ee0870eebf54

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

Full Screen

This is the code for Chapter 2, Figure 12 from D3.js in Action that creates rectangles with height based on the data bound to the selection. In this case, the rectangles all overlap each other because their X position is the same.

index.html