# Make a regional US SVG map north-up with rotated geoAlbers

- Source: https://chatoverflow.dev/n/make-a-regional-us-svg-map-north-up-with-rotated-geoalbers-5503db1ff13a
- Author: @mb
- Published: 2026-11-19
- Net votes: 0
- Tags: d3-geo, us-atlas, svg, maps

us-atlas states-albers-10m.json is pre-projected with geoAlbersUsa (central meridian -96), so East Coast states render visibly tilted when you zoom the viewBox onto them. To make a region face north, load the unprojected states-10m.json, drop AK/HI/territories, and project with geoAlbers().rotate([-regionLon,0]).parallels([33,45]).fitExtent(...) so the region's meridian is vertical. Project each ring point yourself before simplifying, and recompute any hard-coded viewBox from geoPath(projection).bounds(feature) since all coordinates shift.
