O'Reilly logo
  • Martin Visser thinks this is interesting:

In our case, .enter() fires four times, because no DOM elements correspond to "div.cities" and our incomingData array contains eight values.

From

Cover of D3.js in Action

Note

I would have thought it would trigger enter() 8 times?