organize your code in a way that doesn’t pollute and exposes only what is necessary Larger interactive d3 programs can be difficult to organize. After all your elements are on the screen you want to glue them together inside event callbacks. The conventional methods of calling d3.selectAll() against a large DOM tree end up resulting in a lot of additional code to make sure your selections are accu