Data Binding

D3 binds data with DOM elements and will update your page based on changing data. This is possible by using D3's Selection and Data modules.

Getting Data

Data can be sorced locally or you can retrieve it from an external website by making an ()request. D3 works with many data formats and has built in request methods to specifically retrieve certain formats. The data that we will be using in this example is a JSON object.