People are overall more likely to vote Republican the richer they are, and to vote Democratic the poorer they are. The difference between a blue state and a red state is the income level at which that tips.
Yep. And mostly from the poorest or richest residents of SF? The association with income holds; it doesn't tell you where the break point from mostly Dem to mostly GOP is