D3 - Interaction (behaviors)
About
Interaction techniques are reused through behaviors.
The zoom behavior implements panning and zooming by listening to mouse events; on pan or zoom, a custom event is dispatched to report a two dimensional translation and scale. This event can be used for either geometric or semantic zooming
Special operators called event handlers respond to user input and enable interaction.