This Lesson is for subscribers

Takeaways:
- The D3 General Update Pattern is as follows: 1) do a data join with the new data, 2) update the old elements as needed, 3) create new elements as needed, 4) if the step 3 appened new elements to the enter selection, the update selection expands to include both the enter and update selections so do something to both selection, and 5) remove old elements as needed
- With dynamic data, whether being generated on the server-side or client-side, it's important to go through the full D3 General Update Pattern each time new data arrives to be processed by the D3 Data Join
- You can (and should) encapsulate the D3 General Update Pattern within a JavaScrip function that takes in a data set as an argument, that way you only have to code the D3 General Update Pattern once and can use it at will when new data comes in
Resources:
D3 Video Tutorial Lessons: