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.

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:

How Common is Your Birthday? This Visualization Might Surprise You

By Matt Stiles | | Topics: Demographics

It’s baby season in America, with September the busiest month for births on average in the last two decades. So it seemed like the right time to remix this blog’s most-popular post: How Common is Your Birthday?

That old heatmap, which highlighted specific dates for popularity, has been viewed more than 500,000 times here and published across the web. But it was flawed, namely that it used ordinal data (birthday ranks by date) rather than continuous data (actual births counts by date). This graphic finally addresses that problem:

Seoul’s Steamy Summer (Updated)

By Matt Stiles | | Topics: South Korea, Weather

Note: I followed my wife, a foreign correspondent for NPR News, to Seoul last year. This is one of a series of posts exploring our adopted country’s demographics, politics and other nerdy data stuff. Let me know if you have ideas for future posts.

I’ve been away from Seoul for much of the summer, but now that I’m back it’s impossible not to hear all the complaining — among expats and locals alike — about the heat.

They have a point, at least in terms of their expectations. This summer has indeed been hotter than usual, especially this month, when the daily low temperature on one recent day actually exceeded the average high. (I updated the chart on Aug. 24).

Historically, the air begins cooling slightly in August. Not so this year…