Hid all the d3 stuff in a separate file