Continuing on the previous episode, on this one we see how to add menus to the charts.
Allowing us to select different column for x and y axis to update the data displayed on those axis.
Use of :
-selection.dispatch() => to dispatch an event
-selection.on() => to listen to an event