Data Binding

The data operator binds data to DOM elements:
  d3.selectAll("div").data([1,2,3])

The input should be an array of data values.

The result is a triple of selections:
- Update (DOM elements mapped to data)
- Enter (Data without corresponding DOM elements)
- Exit (DOM elements now missing data)