refactored code with variables and scaled map with d3.geo.albers()