Updating the Chart

D3 can handle updating selections and scales without having to rewrite a majority of the code.

In this lesson, we are going to update the chart based on the user’s selection. This is where things are going to get tricky. We have to decide what gets updated and what does not get updated.

Get hands-on with 1200+ tech skills courses.