This chapter covered the fundamental libraries, functions, and methods in D3 that implement several types of interactive behaviors, which are essential in most web-based data visualizations, where interactivity is not an optional feature. You learned how to dispatch and handle native and custom events, apply and configure animated transitions, and configure drag, brush, and zoom behaviors for any chart. With this chapter, we finally covered all the basics.
In the next chapter, we will start exploring advanced charts, such as hierarchical trees and networks, and you will have the opportunity to apply much of what you learned in this and previous chapters.