Displaying Data

Our elements have access to our data. Let's learn how to use the data to manipulate the elements in our document.

We'll cover the following...

The purpose of joining data is to be able to manipulate an element based on the data. D3 allows us to change an element’s properties while accessing the associated data. Let’s explore how it is done.

Outputting the data

Previously, we were outputting a static string in the text() method.

 ...