468060 (64) [Avatar] Offline
#1
p.83.

The reason why the "circle" elements don't update whereas the "text" ones do is because selectAll() doesn't cause elements to update: you need to use .select() or .datum() instead. You don't "have to .selectAll() the parent elements and then subselect the child elements" (this suggests that it's the embedded selection that causes the update).

The text says 'you can see that...' but the console.log output for the three examples isn't shown.
elijah.meeks (123) [Avatar] Offline
#2
If I expressed this behavior in the manner you suggest, no one would understand it.
468060 (64) [Avatar] Offline
#3
I agree. However, I think it should be made clear that it's because .selectAll() doesn't cause the elements to update (and why it doesn't).