The JavaScript API not only allows your visualization to be interacted with by the containing webpage, but also allows you to have the webpage react to direct interactions with the visualization. This occurs through event listeners, a subject which we explore in this training video.