To view the map in a larger format or on mobile devices, click here.

The seven California congressional seats that Democrats flipped last month were some of the most hotly contested and expensive elections of the midterm season — and the national attention that focused on them came with a flood of campaign money from around the country.

This map shows every city where the Democratic or Republican candidates in those seven races raised at least $10,000 in total. You can click on each city to see the amount the parties raised and the comparison between the Democratic and Republican hauls in cases where both raised $10,000 or more.

What stands out more than anything is the Democratic dominance in California’s population centers of the Bay Area and Los Angeles. While Republicans raised much more in the Central Valley and did well in some L.A. suburbs, they couldn’t match the Democratic totals from cities like Los Angeles, San Francisco, Palo Alto, Berkeley, Oakland and Santa Monica. Notably, the parties were fairly evenly matched for fundraising across much of the traditional Republican stronghold of Orange County, where Democrats flipped four congressional seats.

The parties had their respective bright spots outside of California, with Democrats doing especially well in the New York, Boston and Chicago areas and Republicans — most of them congressional incumbents — holding their own in the Washington, D.C., region. The GOP also pulled ahead in places like Las Vegas, Atlanta and South Florida.

And then there are the fun ones: Who would have guessed that California Democrats raised $13,500 from Tecumseh, Kansas, a suburb of Topeka? The party’s candidates also got $10,100 from Moscow — Moscow, Idaho, that is. (Both cities’ totals came from a single donor, the president of a local political consulting firm and the founder of a kayaking and rafting supply company.)

Overall, a Bay Area News Group analysis found that the victorious Democrats raised just under 10 percent of their total from individual itemized donations within their districts, while the Republicans raised about 21 percent of their total from within their districts.

Only contributions from individuals are included in this map, not those from political action committees or the candidates themselves. Many donations of $200 or less, which don’t need to be reported individually, are also excluded. The locations on the map are based on the mailing addresses each donor reported — so people who listed their address as Van Nuys are considered their own city, for example, even though Van Nuys is actually a neighborhood of Los Angeles.

Read more: Wave of out-of-district cash helped California Democrats flip GOP seats