Mapping Opposition to the GOP Health Care Bill by Congressional District

By Matt Stiles | | Topics: Demographics, Policy & Politics

The legislative failure of the GOP’s replacement for Obamacare has been widely reported, obviously, but I remain interested in one bit of polling noted this week by FiveThirtyEight.

The polling firm YouGov estimated the legislation’s unpopularity by congressional district. The bill itself was quite unpopular, it turns out, even in conservative districts, as FiveThirtyEight’s Nate Silver reported.

Thanks to DailyKos Elections, we can also marry the data with President Donald Trump’s vote share in each district.

I’ve been experimenting with maps in D3.js, and I hadn’t yet tried congressional districts. So this seemed like a perfect opportunity, even if thematic maps aren’t particularly useful in this context (because congressional districts vary in size geographically, such maps can be misleading).

Case in point: The national map of congressional districts, with Republicans in red and Democrats in blue . As we all know, Democratic districts tend to be smaller in terms of area and clustered in more densely populated places. So they don’t get a particularly fair representation on a map:

Consider these two treemaps. This first shows members of the U.S. House by party (with some vacancies in gray). Shapes are sized based on the average population of each congressional district: roughly 710,000 people, give or take five percent. The House has 237 Republicans, 193 Democrats and five vacancies. There’s clearly a red majority, but it’s relatively close:

This treemap, however, shows the geographic area in square miles. Now you see the distortion:

OK, you get it. So let’s see how the health care opposition looks on maps.

Maps: Where Are America’s Alternative Fuel Stations?

By Matt Stiles | | Topics: Policy & Politics

I recently stumbled upon the U.S. Department of Energy’s alternative fuels data center, a clearinghouse for information on transportation technology. Inside there’s a handy station locator tool allowing users to find fueling centers for specific types of vehicles.

Perfect for a quick map exercise:

Charting Historical Voter Turnout

By Matt Stiles | | Topics: Policy & Politics

As FiveThirtyEight notes, turnout in the 2016 presidential election isn’t dramatically lower than it was four years ago, according to the latest estimates. And with many mail-in and provision ballots still being counted, the 2016 turnout rate could still change:

Approximately 58.1 percent of eligible voters cast ballots in last week’s presidential election, according to the latest estimates from Michael McDonald, associate professor at the University of Florida, who gathers data at the U.S. Elections Project. That’s down only slightly from 2012, when turnout was 58.6 percent, and well above 2000’s rate of 54.2 percent. Turnout may end up being higher than in any presidential election year between 1972 and 2000….

We won’t have final turnout numbers for weeks or months because some states are still counting ballots; millions remain uncounted. That means estimates based solely on votes counted so far will understate turnout — though already more presidential votes have been counted this year than in 2012 (contrary to reports that fewer voters turned out this year). In the meantime, most news organizations rely on estimates from McDonald.

Here’s a quick look at historic turnout in both midterm and general elections, according to estimates compiled by McDonald:

FiveThirtyEight Chat On Maps: Turning The “Big” States Blue

By Matt Stiles | | Topics: Policy & Politics

The folks at FiveThirtyEight had a fun data visualization discussion during their regular election chat this week, about whether Hillary Clinton should focus on ensuring victory next month or spending more money in “red” states to expand her Electoral College map.

Nate Silver chimes in by alluding to the classic discussion about how choropleth maps of the United States in a political context can distort a story. That’s because geographically large but sparsely populated western states skew the picture.

harry: People look to the map to understand how big the victory was. We have a winner-take-all system.

micah: Yeah, if the map everyone sees on Nov. 9 is covered in blue, doesn’t that make a difference?

clare.malone: I think it’s a reasonable goal for them to want to/try to win at least one unexpected state. A spot of blue in a sea of red can be a striking visual that people walk away with.

natesilver: So should they aim for states that are physically larger because they’re more impressive on the map?

clare.malone: Hah, yes.

natesilver: So Alaska then?

clare.malone: No.

natesilver: Or not Alaska because it gets shrunken down?

harry: Is this a Mercator problem? I don’t know maps.

Good stuff.

Of course, she could always try to win like Raegan did in 1984 — and then it won’t matter how you visualize it:

Mapping Where ‘Americans’ Live

By Matt Stiles | | Topics: Demographics, Policy & Politics

Back during the Republican primaries, The Upshot published an interesting short post called the Geography of Trumpism. The reporters back then analyzed hundreds of demographic variables, by county, in an effort to determine which ones might be predictive of electoral support for the eventual GOP nominee.

Think: What’s the rate of mobile home ownership? Or what percentage of people in a particular place have college degrees? They found a key variable to explore:

When the Census Bureau asks Americans about their ancestors, some respondents don’t give a standard answer like “English” or “German.” Instead, they simply answer “American.”

The places with high concentrations of these self-described Americans turn out to be the places Donald Trump’s presidential campaign has performed the strongest.

I’ve plotted the percentage of “American” ancestry, by county, on a national map. Keep in mind the data come from a five-year survey by the U.S. Census Bureau, so the accuracy in large counties is relatively safe.

But in smaller counties — say, those with fewer than 10,000 residents — the margins of error can be quite high. The results are even more problematic in the tiniest of counties. Still, this is the best public data we have, and it does produce some interesting geographic trends:

Charting American Birthdays: Yours Probably Isn’t That Special

By Matt Stiles | | Topics: Demographics, Policy & Politics

Last week I published a new heatmap exploring the popularity of American birthdays. The chart, which uses darker shades to represent higher average birth counts on specific days, can give the impression that some birthdays are much more common than others.

In reality, outside of some special occasions, namely major holidays, there isn’t a huge amount of diversity in the data set, which has two decades of births aggregated by day. Most birthdays, including my own, are fairly average — especially in the first six months of the year. For example:

Is South Korea’s National Assembly More Liberal Than South Koreans?

By Matt Stiles | | Topics: Policy & Politics, South Korea

Members of South Korea’s legislative branch, known as the National Assembly, recently took a poll to determine where they land on the ideological spectrum. The group as a whole appears to be getting more liberal, according to an analysis of the results.

The poll, conducted by the Korea JoongAng Daily and the Korean Political Science Association, gave lawmakers a 15-question ideological test. The questions focused on the Korean alliance with the United States, relations with North Korea, corporate reform, welfare and gay marriage, among other topics.

Each lawmaker scored on a scale from 0 (liberal) to 10 (conservative). According to JoongAng Daily:

Scores below 4 are considered liberals. Scores between 4 and 6 are considered moderates while scores higher than 6 are seen as conservatives.

The outcome of the poll shows an average score for the lawmakers of 3.9, 0.7 points lower, or more left-leaning, than the last joint survey conducted in the early days of the 19th National Assembly four years ago….

The outcome showed that the 20th Assembly, though 83 lawmakers weren’t polled, has moved to the left on the ideological spectrum in what some see as a response to growing calls from the public to rein in widening economic inequality.

A sample of the South Korean public also took the poll. The respondents were moderate, scoring 5 on average — more conservative than the average score for lawmakers: 3.9. The public is more liberal than the Saenuri party and more conservative than the Minjoo, the ideologically differing parties that control the assembly.

I remixed the newspaper’s graphic a bit, choosing a dot chart over a line chart. The result:

Thoughts?

Photo credit: Wikimedia

How Immigration is Animating the ‘Brexit’ Vote, in Four Charts

By Matt Stiles | | Topics: Demographics, News, Policy & Politics

Immigration to the United Kingdom has risen sharply in recent years, and it’s fueling the debate about Britain’s looming “Brexit” vote on whether to leave the European Union.

Many supporters advocating a “leave” vote on June 23 believe it’s best the best way to control Britain’s borders, which under E.U. rules have been opened to workers from other member nations.

The Brussels-based union has in recent years expanded to Eastern European nations, and residents from the those countries have flooded the U.K., population 64 million, newly released data shows. That’s stoked fears that the its traditions and values are changing. Others say the influx of outside residents keeps Britain’s economy relatively strong.

The U.K.’s Office for National Statistics tracks the ebb and flow of people each year. I’ve charted the figures ahead of the vote.

Let’s Tess(t)ellate: The Electoral College in Tile Grid Maps, 1980-2012

By Matt Stiles | | Topics: Policy & Politics

I recently added some new charting tools here thanks to NPR’s excellent daily graphics rig, which we used recently to compare air quality in Seoul with other large cities.

There’s still plenty of tinkering to be done here with the rig, especially with deployment to WordPress. But as a first public test, I made several tile grid maps to show Electoral College results in presidential elections since 1980. The “maps” use a tessellated grid of hexagons, rather than actual geographic shapes, to show Republican red and Democratic blue.

Mapping Clinton, Trump Support

By Matt Stiles | | Topics: Policy & Politics

I’ve been collecting county-level data on the presidential primary race since the contests began earlier this year. With Donald Trump now the Republicans’ presumptive nominee — and Hillary Clinton rapidly heading there — here are two maps showing their support so far nationwide (inspired by The New York Timeslovely maps):

primary_results_dems_clintonSM

primary_results_dems_trumpSM