Check out a free preview of the full Interactive Data Visualization with D3.js course:
The "Event Dispatching" Lesson is part of the full, Interactive Data Visualization with D3.js course featured in this preview video. Here's what you'd learn in this lesson:

In order to update one chart when another is modified, the charts need to utilize custom events. Custom events encapsulate the functionality and all for greater reusability.

Get Unlimited Access Now