refactored d3 map layer and map loading functions, added sales layer