Modified code to use only D3 and load after the map. Not yet working.