An implementation of a counter based on the
VizHub V3 hot reloading patterns.
This example demonstrates how to use the index.js pattern
with standard UI elements like buttons and divs using
D3.
HT brettforbes for the original question that inspired the creation of this example: How to combine Event Listener for buttons and index/js.