This is the code for Chapter 1, Figure 27 from D3.js in Action showing simple data binding using a filtered array filler data to create elements with content based on the values of the datapoints.
Modified http://d3js.org/d3.v3.min.js to a secure url
https://d3js.org/d3.v3.min.js