The Midterms Are Not Over

Your author is back after a few days out sick and then the Armistice Day holiday. But guess what? The elections are not yet all over. Instead, there are a handful of races to call. Below is a screenshot from a FiveThirtyEight article tracking those races still too close to call.

The Republican gain might not be as big as they had hoped
The Republican gain might not be as big as they had hoped

Why are there races? Because often time mail-in ballots need only be postmarked by Election Day. Therefore they can still be arriving in the days after the election and their total must be added to the race. (Plus uncounted/missed ballots et cetera.) For example, the late count and mail-in ballots are what tipped the Arizona senate seat. When we went to bed on Tuesday night—for me Wednesday morning—Arizona was a Republican hold, albeit narrowly. Now that the late count ballots have been counted, it’s a Democratic pickup.

The graphic above does a nice job showing how these races and their late calls are impacting seat changes. Their version for the House is not as interesting because the y-axis scale is so much greater, but here, the user can see a significant shift. The odds were always good that the Republicans would pick up seats—the question was how many. And with Arizona flipping, that leaves two seats on the table. Mississippi’s special election will almost certainly be a Republican hold. The question is what about Florida? The last I saw the race is separated by 0.15% of the vote. That’s pretty tiny.

Credit for the piece goes to the FiveThirtyEight graphics department.

Congressional District Population Density

Tomorrow is Election Day here in the United States and this morning I wanted to look at a piece I’ve had in mind on doing from City Lab. I held off because it looks at the election and what better time to do it than right before the election.

Specifically, the article looks at the density of the different congressional districts across the United States. Whilst education level appears to be the most predictive attribute of today’s political climate—broadly speaking those with higher levels of formal education support the Democrats and those with lower or without tend to support President Trump—the growing urban–rural divide also works. But what about the in-between? The suburbs? The exurbs? And how do we then classify the congressional districts that include those lands.

For that purpose City Lab created its City Lab Congressional Density Index. Very simplistically it scores districts based on their mixture of low- to medium- to high-density neighbourhoods. But visually, which is where this blog is concerned, we get maps with six bins from pure urban to pure rural and all the mixtures in-between. This cartogram will show you.

All the urban and rural seats
All the urban and rural seats

Now, there are a couple of things I probably would have done differently in terms of the visualisation. But the more I look at this, one of those things would not be to design the hexagons to all fit together nicely. Instead, you get this giant gap right where the plains states begin west of the Mississippi River stretching through the Rockies over to California. If you think about it, however, that is a fairly accurate description of the population distribution of the United States. With a few exceptions, e.g. Denver, there are not many people living in that space. Four geographically enormous states—North Dakota, South Dakota, Montana, and Wyoming—have only one congressional district. Idaho has two. Nebraska three. And then Iowa and Kansas four. So why shouldn’t a map of the United States display the plains and Rocky Mountain interior as a giant people hole?

Like I said, initially I took umbrage at that design decision, but the more I thought about it, the more it made sense. But there are a few others with which I quibble. The labelling here is a big one. First, we have the district labels. They are small, because they have to be to fit within the five hexagons that define the districts’ shapes. But every label is black. Unfortunately, that makes it difficult to read the labels on the darker colours, most notably the dark purple. I probably would have switched out the black labels in those instances for white ones.

But then the state labels are white with black outlines, which makes it difficult to read on either dark or light backgrounds. The designer made the right decision in making the labels larger than the districts, but they need to be legible. For example, the labels of Alaska and Hawaii need not be white with black outlines. They could just be set in black type to be legible. Conversely, Florida’s, sitting atop darker purple districts, could be made white.

The piece makes use of more standard geographic map divided into congressional districts—the type you will see a lot tomorrow night. And it makes use of bar charts to describe the demographics of the various density types. I like the decision there to use a new colour to fill in the bars. They use a dark green because it can cut across each of the six types.

Credit for the piece goes to David H. Montgomery.

Midterm Challengers

My initial plan for today was that I was not going to run anything light-hearted and focus instead on next week’s elections. But I still love xkcd so I checked that out and…well, here we go.

Your 2018 midterm challengers
Your 2018 midterm challengers

At the broadest view, much is unintelligible on the map. But, you can see a lot of blue, or in other words, there are a lot of Democratic challengers to a Republican House, Senate, and state governments. That’s right, it’s also covering state races, e.g. gubernatorial races. But at this level, the difficulty is in seeing any of the details.

The one problem I had with the map was the zoom. On a computer you can double-click or mouse scroll for the zoom, but I was looking for little buttons. Admittedly it took me a few moments to figure it out until I moused over the map to get the tooltip, which of course provided the instructions.

Once you zoom in, however, you can see the details of the map. This here is focused on southeastern Pennsylvania.

Lot of Democratic challengers here in southeastern Pennsylvania
Lot of Democratic challengers here in southeastern Pennsylvania

The key to the map is an interesting mix of values as the typographic size of the candidate is related to both their odds of success as well as the importance of their office. So in this view we can see an interesting juxtaposition. Chrissy Houlahan and Mary Gay Scanlon, for example, are running for suburban Philadelphia congressional districts. However, Scott Wagner is running for the arguably higher office of Pennsylvania governor. But his name is fairly small compared to the two women. And just above Scott? Lou Barletta. He is running for one of Pennsylvania’s two senate seats, challenging incumbent Bob Casey Jr. Clearly neither is forecasted to have great success whereas Houlahan and Scanlon are.

Of course the map lacks a scale to say what represents breakeven odds. It is also difficult to isolate the degree to which a level of office influences the size of a challenger’s name. That makes the map less useful as a tool for looking at potential outcomes for Tuesday.

The tooltip that revealed the instructions, however, also had one more big tip. If you found the map needed an update, the instructions were to submit your ballot on 6 November.

Anyway, this is just a reminder to find your polling place over the weekend and get prepared to vote on Tuesday. In the meantime, have a good weekend.

Credit for the piece goes to Randall Munroe, Kelsey Harris, and Max Goodman.

Where People Vote

Voting is not compulsory in the United States. Consequently a big part of the strategy for winning is increasing your voters’ turnout and decreasing that of your opponent. In other words, demotivate your opponent’s supporters whilst simultaneously motivating your own base. But what does that baseline turnout map look like? Well, thankfully the Washington Post created a nice article that explores who votes and who does not. And there are some clear geographic patterns.

A lot of people don't vote
A lot of people don’t vote

The piece uses this map as the building block for the article. It explores the difference between the big rural counties that dominate the map vs. the small urban counties where there can be hundreds of thousands of voters, a large number of whom do not vote. It uses the actual map to compare states that differ drastically. For example, look at the border between Tennessee and North Carolina. On the Tennessee side you have counties with low turnout abutting North Carolinian counties with high turnout.

And towards the end of the piece, the article reuses a stripped down version of the map. It overlays congressional districts that will likely be competitive and then has the counties within that feature low turnout highlighted.

Overall the piece uses just this one map to walk the reader through the geography of voting. It’s really well done.

Credit for the piece goes to Ted Mellnik, Lauren Tierney and Kevin Uhrmacher.

Pages of Polls and Forecasts

We are now one week away from the midterm elections here in the United States. Surprisingly, we are going to be looking at election-y things over the course of the next week or so. But before we delve into that, I wanted to focus on the homepage for FiveThirtyEight, the below screenshot is from my laptop.

The homepage as of 30 October
The homepage as of 30 October

The reason I wanted to call attention to it is that right-most column of content. The site does a great job of succinctly providing the latest forecasts and polling number on the two main midterm results, federal representation in the House and Senate, along with polling numbers for President Trump.

Starting from the bottom, the polling numbers chart works really well. It clearly and effectively shows the latest approval/disapproval numbers and their longer term trend whilst providing a link to a page of deeper data. It’s very effective.

Moving up we have the House forecasts. These are tricker to see because so many of the more urban and suburban districts are inherently small geographically ergo very difficult to see in a small map. But the map does the job of at least providing some data along with the key takeaway of the odds of the Democrats flipping or Republicans retaining the House. Again, not surprisingly, it offers a link into the data.

The Senate map is the one where I have the most difficulty. Now when we get to the actual page—hopefully later this week—the map shown makes perfect sense because it exists in a large space. That space is needed to show two hexagons that represent each state’s two senators. But, similar to the problem with the House districts, the Northeast is so geographically cramped that it is difficult to show the senators from Maine through Maryland clearly. I wonder if some of the other visualisations on their Senate forecast page would have been a better choice. However, they do at least provide those odds at the top of the graphic.

Credit for the piece goes to the FiveThirtyEight design department.

T Minus 12 Weeks

Today is Tuesday, 14 August. We are now 12 weeks away from the 2018 midterms. That is just three months away. Coverage will only intensify in the weeks to come, and you can be certain that if there are pieces worth noting, I will do that. But to mark the date I went with this choropleth map from the New York Times.

The nation will turns its eyes to you…in 12 weeks
The nation will turns its eyes to you…in 12 weeks

Nothing too crazy here. Likelihood of results colour the districts. The darker the blue, the more solid the Democratic seat. The darker the red, the more solid the Republican one. But what this map does really well is it excludes the likely’s and the solids and sets them to a light, neutral grey. You can still hover over a district if you are curious about where it falls, but, in general those have been excluded from the consideration set because they are not the districts of the most national attention.

Secondly, note the state labels. States like Wyoming that have no competitive seats have no label. After all, why are we labelling things that have no impact on this story, again, the competitive races. Fewer labels means fewer distracting elements in the graphic.

Finally, the piece includes the ability to zoom into a region. After all, for those of us living in urban areas, our districts are geographically tiny compared to the at-large or state-wide seats like in Wyoming, the Dakotas, and Alaska. Otherwise, good luck trying to find the Illinois 5th or Pennsylvania 3rd.

Credit for the piece goes to Jasmine C. Lee.

Fundraising for the Midterms

We are now less than 100 days away—95 to be exact—from the 2018 midterm elections here in the United States. As we get closer and closer we not only get more information from polls, but also campaign finance reports. Those can sometimes serve as a proxy for support as lots of grassroots support can dump lots of cash in a candidate’s war chest. Wheras a candidate who drums up little support might find him or herself with scant funds to fight the campaign.

So what does that funding tell us right now? Well last week Politico posted an article looking at that data. They broke the dataset into chunks by the likelihood of the results. This screenshot is of Pennsylvania’s 1st Congressional District.

What's going on north of Philly
What’s going on north of Philly

Each district is represented by a dot plot, with the total money raised by each candidate plotted, the distance in grey being the amount by which the Democrat outraised the Republican.

This is a nice piece as the hover state provides a nice grey bar behind the district to focus the user’s attention. Then for the secondary level of information in terms of cash on hand for the Democrats, i.e. who has cash now, we get the dot filled in versus the open state for simply money raised. Then of course the hover state reveals the actual numbers for the two candidates along with the difference between the two.

The funny thing with this particular district, the Pennsylvania 1st, is that Wallace is not necessarily raising a lot of money. He is a self-funding millionaire. He also is not the most electable Democrat in a competitive seat. It will be fascinating to watch how this particular district performs over the next few months, but most importantly in November.

Credit for the piece goes to Sarah Frostenson.

Primarily California

Today is primary day and everyone will be looking to the California results. Although probably not quite me, because Eastern vs. Pacific time means even I will likely be asleep tonight. But before we get to tonight, we have a nice primer from last Friday’s New York Times. It examines the California House of Representatives races that we should be following.

53 districts are a lot to follow in one night…
53 districts are a lot to follow in one night…

Like most election-related pieces, it starts with a map. But it uses some scrolling and progressive data disclosure. The map above, after a bit of scrolling, finally reveals the districts worth following and their 2016 vote margins.

Out of all 53, these are the districts the Times says to watch
Out of all 53, these are the districts the Times says to watch

From there the article moves onto a bit of an exploration of those few districts. You should read the full article—it’s a short read—for the full context on the California votes today. But it does make some nice of bar and line charts to plot the differences in presidential race vs. congressional race margins and the slow Democratic shift.

Credit for the piece goes to Jasmine C. Lee and Karen Yourish.

Forecasting the American Midterm Elections

We are inching ever closer to the US midterm elections in November. In less than a week the largest state, California, will go to the polls to elect their candidates for their districts. So late last week whilst your author was on holiday, the Economist released its forecast model for the results. They will update it everyday so who knows what wild swings we might see between now and the election.

I will strike out against the common knowledge that this is a wave election year and Democrats will sweep swaths through Republican districts in an enormous electoral victory. Because while Democrats will likely win more overall votes across the country, the country’s congressional districts are structurally designed to favour Republicans as a result of gerrymandering after the 2010 Census redistricting. The Economist’s modelling handles this fairly well, I think, as it prescribes only a modest majority and gives that likelihood as only at 2-in-3. (This is as of 30 May.)

But how is it designed?

The big splashy piece is an interactive map of districts.

The overall state of the US in the 30 May run of the model
The overall state of the US in the 30 May run of the model

It does a good job of connecting individual districts to the dots below the map showing the distribution of said seats into safe, solid, likely, leaning, and tossup states. However, the interactivity is limited in an odd way. The dropdown in the upper-right allows the user to select any district they want and then the district is highlighted on the map as well as the distribution plot below. Similarly, the user can select one of the dots below the map to isolate a particular district and it will display upon the map. But the map itself does not function as a navigation element.

Selecting the newly drawn Pennsylvania 6th
Selecting the newly drawn Pennsylvania 6th

I am unsure why that selection function does not extend to the map because clearly the dropdown and the distribution plot are both affecting the objects on the map. Redeeming the map, however, are the district lines. Instead of simply plopping dots onto a US state-level map, the states are instead subdivided into their respective congressional districts.

But if we are going so far as to display individual districts, I wonder if a cartogram would have been a better fit. Of course it is perfectly plausible that one was indeed tried, but it did not work. The cartogram would also have the disadvantage of, in this case, not exhibiting geographically fidelity and thus being unrecognisable and therefore being unhelpful to users.

Now the piece also makes good use of factettes and right-left divisions of information panels to show the quick hit numbers, i.e. how many seats each party is forecast to win in total. But the map, for our purposes, is the big centrepiece.

Overall, this is solid and you better bet that I will be referencing it again and again as we move closer to the midterms.

Credit for the piece goes to the Economist Data Team.

Pennsylvania Primary Night

Surprise, surprise. This morning we just take a quick little peak at some of the data visualisation from the Pennsylvania primary races yesterday. Nothing is terribly revolutionary, just well done from the Washington Post, Politico, and the New York Times.

But let’s start with my district, which was super exciting.

The only thing to write home about is how the Republican incumbent dropped out at the last moment and was replaced by this guy…
The only thing to write home about is how the Republican incumbent dropped out at the last moment and was replaced by this guy…

Moving on.

Each of the three I chose to highlight did a good job. The Post was very straightforward and presented each office with a toggle to separate the two parties. Usually, however, this was not terribly interesting because races like the Pennsylvania governor had one incumbent running unopposed.

Mango is represented by what colour?
Mango is represented by what colour?

But Politico was able to hand it differently and simply presented the Democratic race above the Republican and simply noted that the sitting governor ran unopposed. This differs from the Post, where it was not immediately clear that Tom Wolf, the governor, was running unopposed and had already won.

Clean and simple design. No non-sense here.
Clean and simple design. No non-sense here.

The Times handled it similarly and simultaneously displayed both parties, but kept Wolf’s race simple. The neat feature, however, was the display of select counties beneath the choropleth. This could be super helpful in the midterms in several months when key races will hinge upon particular counties.

The Republican primary for the PA governorship has been ugly
The Republican primary for the PA governorship has been ugly

But where the Times really shines is the race for Pennsylvania’s lieutenant governor. Fun fact, in Pennsylvania the governor and lieutenant governor do not run as a ticket and are voted for separately. This year’s Democratic incumbent, Mike Stack, does not get on with the governor and had a few little scandals to his name, prompting several Democrats to run against him. And the Times’ piece shows the two parties result, side-by-side.

Pennsylvania's oddest race this time 'round
Pennsylvania’s oddest race this time ’round

Credit for the Post’s piece goes to the Washington Post graphics department.

Credit for Politico’s piece goes to Politico’s graphics department.

Credit for the Times’ piece goes to Sarah Almukhtar, Wilson Andrews, Matthew Bloch, Jeremy Bowers, Tom Giratikanon, Jasmine C. Lee and Paul Murray, and Maggie Astor.