updating d3 code to center a map given a width and height