A few basic building blocks for making an app with d3