San Francisco's political class is famously (and overwhelmingly) liberal, with Democrats comprising 62% of registered voters and holding virtually every elected office in the City.

But just because a City is overwhelmingly Democrat, doesn't mean that voters and politicians agree on everything. In fact members of the same party remain deeply divided over issues such as home-sharing, ride-sharing, development, affordable housing and many more. San Francisco's liberal power base is sometimes divided into three key factions: moderates, progressives and moderate-progressives - each with its own distinct priorities and positions on issues.

Although party labels aren't helpful in distinguishing these differences, knowing where politicians receive their money, and who they give money to, can help reveal where San Francisco's Democratic establishment falls along the political spectrum. To do this, we integrated nearly 20 years of local campaign finance records into our own historical database and mapped the City's top political leaders along an ideological spectrum based on their Crowdpac scores. Here are the results:

This chart, produced using objective data, illustrates some of the longstanding faults within the City's political establishment. The left is flanked by scions of progressive politics such as Harvey Milk protégé Tom Ammiano and on the right by more moderate figures such as Dianne Feinstein and Willie Brown. So-called moderate-progressives, which include Mayor Ed Lee and Assemblyman David Chiu, fall right in between these two groups.

Not surprisingly, San Francisco's storied neighborhoods are equally nuanced. Find out how liberal or conservative your favorite neighborhood is, and see how it compares with others, using our lookup tool.