Upgrade d3 and make it a submodule