d3-dispatch

Register named callbacks and call them with arguments.

d3d3-moduleeventlistenerdispatch

https://d3js.org/d3-dispatch/