Check out a free preview of the full Introduction to D3.js course:
The "Enter-Update Exercise" Lesson is part of the full, Introduction to D3.js course featured in this preview video. Here's what you'd learn in this lesson:

Students are instructed to use the enter-update pattern to create a simple bar chart using both the old way and new way of updating data discussed in the previous segment.

Get Unlimited Access Now

Transcript from the "Enter-Update Exercise" Lesson

>> So I want us to do an exercise, and what we're going to do is we're going to try updating our simple bar chart the two ways, the old way and the new way. And if we've done them correctly, the bars should show up here every time I ask for new data