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.

Add to My Courses
Hi! I'm Andrew Burgess, a Staff Writer here on Tuts+. I've been hanging around the Tuts+ since early 2009; I discovered the site when I was looking for an introduction to jQuery. Since discovering the site, my web development skills have skyrocketed; I think that's the default experience! Now, I've been writing for Tuts+ regularly since late 2009. I've been working with the computers since I was pretty young, and with the web since 2006. I've dabbled with over a dozen programming languages, but I'm most comfortable in JavaScript and Ruby. Currently, I'm a university student, studying computer science.
+ Expand Bio- Collapse Bio