Add d3 boilerplate code #1