Lessons:18Length:2.6 hours

Next lesson playing in 5 seconds


2.1 Working with Elements

In some ways, D3 is like many other DOM manipulation libraries: it makes it very simple to work with elements in the DOM. D3 is different in that it allows us to bind data to these elements and use the data itself to manipulate the elements. Before we get to the data, let’s look at the functions we can use to work with DOM elements.