Major markets in swing states see the lion’s share of gains.