Photo by Flickr user Ryan Keene , used under a Creative Commons license

Many readers took heart in the news last week that museums in the U.S. outnumber McDonald's and Starbucks restaurants — combined. But like so many other quantifiable preferences that Americans have, there's a political dimension to the affinity for museums.

Just last week, a Pew Research Center survey found that liberals are much more attached to their museums than conservatives are: 73 percent of "consistently liberal" Americans say that being near museums and theaters is an important factor in choosing where to live. Only 23 percent of consistently conservative Americans say the same.

Considering that divide, I thought it might be useful to map museums and libraries against an institution that conservatives might be more fond of: gun stores. The inspiration here was Nathan Yau's recent map of where bars outnumber grocery stores. I took the IMLS' museum counts from last week and added to their count of libraries. The idea here is that museums and libraries play similar roles, as institutions of informal learning where students and adults can go to learn more about their communities and the world around them.

For gun retailers, I used data maintained by the Bureau of Alcohol, Tobacco and Firearms on the number and location of licensed firearm dealers in the U.S. A high incidence of gun dealers indicates a robust gun culture — places where people hunt and shoot for sport, and perhaps places where people are concerned about self-defense and safety.

Keep in mind that these two quantities aren't diametrically opposed — there's no reason you can't be a fan of both guns and museums (there is in fact a National Firearms Museum run by the NRA in Fairfax, VA.). But viewed in relation to each other guns and museums give some sense of a community's values. As my colleague Emily Badger wrote the other day, we live in places that reflect our values, and many of us are sorting ourselves into communities that share our political views.

I mapped everything at the county level below: counties with higher numbers of museums are shaded green, while those with more gun shops are shaded brown.

Here are a few of the takeaways:

New England is museum and library country.

Museums and libraries outnumber gun stores in all but two New England counties — rural Aroostook County in Northern Maine, and Hillsborough County in New Hampshire, the state's most populous.

Vermont presents an interesting case. Its gun laws are among the most lax in the nation, according to the Brady Campaign to Prevent Gun Violence. But gun shops are scarce relative to museums and libraries in the state, which likely has something to the the state's unique gun culture — "strong, safe and unregulated," according to the Burlington Free Press. Vermont's governor, Peter Shumlin, said Vermonters view guns as "tools" to manage natural resources, rather than "weapons of war."

So is the mid-Atlantic — with one exception.

Most mid-Atlantic states are home to more museums and libraries than gun stores, with the exception of Pennsylvania, where firearms are more popular. Some of the nation's strongest gun laws are in New Jersey and Maryland.

Guns are king in the lower Midwest and the upper South.

The strongest concentration of gun-heavy counties is in Missouri, where gun stores outnumber museums and libraries in all but six of the state's 114 counties. Kentucky, Tennessee and Arkansas all stand out for their concentration of gun stores, as does Oklahoma.

But the most gun-heavy county is in Oregon.

Gun stores outnumber museums and libraries by nearly seven-to-one in Deschutes County, Ore., giving it the most lopsided ratio in favor of gun stores among counties with at least 10 of each. Eight of the top 25 gun-favoring counties are in the Lone Star state — don't mess with Texas!

Rank County State Gun stores Libraries and museums Ratio, libraries/museums to gun stores
1 New York NY 11 457 41.55
2 Philadelphia PA 15 254 16.93
3 Cook IL 44 550 12.50
4 Queens NY 10 117 11.70
5 Choctaw OK 10 75 7.50
6 Orleans LA 14 103 7.36
7 Bergen NJ 18 129 7.17
8 Alameda CA 29 174 6.00
9 Nassau NY 33 184 5.58
10 Monterey CA 17 90 5.29
11 Barnstable MA 23 117 5.09
12 Somerset NJ 12 61 5.08
13 Essex MA 32 156 4.88
14 Morris NJ 21 100 4.76
15 Union NJ 12 56 4.67
16 Franklin MA 16 71 4.44
17 Norfolk MA 28 122 4.36
18 San Mateo CA 22 95 4.32
19 Middlesex NJ 18 77 4.28
20 Berkshire MA 20 85 4.25
21 Burlington NJ 17 72 4.24
22 Hampshire MA 18 73 4.06
23 Hancock ME 21 85 4.05
24 Camden NJ 15 60 4.00
25 Essex NY 11 44 4.00

Prefer museums to guns? Head to Manhattan.

There are 457 libraries and museums in New York County and only 11 gun retailers, making for a 42-to-1 ratio in favor of the former. Seven of the top 25 museum-favoring counties are in New Jersey, making the Garden State the Texas of museums and libraries. Don't mess with Jersey!

Rank County State Gun stores Libraries and museums Ratio, gun stores to libraries/museums
1 Deschutes OR 114 17 6.71
2 Montgomery TX 125 22 5.68
3 Ravalli MT 61 11 5.55
4 Bonneville ID 55 10 5.50
5 Jefferson MO 115 22 5.23
6 Lexington SC 71 16 4.44
7 Midland TX 57 13 4.38
8 Flathead MT 90 21 4.29
9 Fairbanks North Star AK 92 22 4.18
10 Matanuska-Susitna AK 87 21 4.14
11 Williamson TX 107 26 4.12
12 Denton TX 153 38 4.03
13 Parker TX 48 12 4.00
14 Webb TX 44 11 4.00
15 Adams CO 91 23 3.96
16 Canyon ID 71 18 3.94
17 Bay FL 55 14 3.93
18 Yellowstone MT 90 23 3.91
19 Cabarrus NC 46 12 3.83
20 Anchorage AK 180 47 3.83
21 Craighead AR 38 10 3.80
22 Bossier LA 53 14 3.79
23 Ellis TX 45 12 3.75
24 Bonner ID 41 11 3.73
25 Bell TX 74 20 3.70

At the state level, museums and libraries outnumber gun retailers in only 13 states.

Massachusetts is the state most fond of museums and libraries — they outnumber gun stores by more than four-to-one. Mid-Atlantic and New England states round out the rest of the top 5.

At the other end of the spectrum, gun stores outnumber museums and libraries by more than two-to-one in Montana, Arkansas, Wyoming, Alaska, Idaho and West Virginia.