Data Binding
The d3-selection module is a core library in any D3 application. It's hard to find a D3 application that doesn't use most of its methods, which form the vocabulary of a Domain-Specific Language (DSL) that chains together operations to select, bind, and update data, creating expressions that run as data-driven streams, dynamically transforming Document Object Model (DOM) components. One of the main goals of this chapter is to introduce you to the methods of this module, demonstrating how to use them for selections, updates, joins, and DOM manipulation.
This chapter will also cover the data-binding strategies used by D3, most of which are based on the general update pattern, which is a fundamental paradigm in D3. It was briefly ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access