Public Transit of Yesteryear

For my frequent readers, it will be no big surprise that I am avid supporter of public transit, especially the railways. Consequently I was delighted when I read a non-Brexit piece in the Guardian yesterday that looked at public transit systems in several cities.

But it did so by comparing earlier plans or systems to those in existence today.

That's definitely one time I'd like to live in the past.
That’s definitely one time I’d like to live in the past.

Each design is slightly different and reflects the source material for the various cities. But I naturally selected the Philadelphia map. One of the biggest things to notice are the lack of trams/trolleys north of Girard and the addition of the River Line.

Credit for the piece goes to Jake Berman.

Angry Birds? Bad Birds

Baseball is almost upon us. And oh boy do the Baltimore Orioles look bad. How bad? Historically bad. FiveThirtyEight went so far as to chart the expected WAR, wins above replacement, of each position of all teams since 1973. And the expected Orioles lineup looks remarkably bad.

They are going to be so bad.
They are going to be so bad.

What is nice about this graphic is the use of the medium grey for each team/year combination. I may have used a filled orange dot instead of open, but the dots do at least standout and show the poor positioning of just about everything but the second baseman.

Credit for the piece goes to the FiveThirtyEight graphics department.

The Long and Winding Road

This Washington Post piece caught my eye earlier this week. It takes a look back at all the departures from the Trump administration, which has been beset by one of the highest turnover rates of all time.

So many names.
So many names.

What I like about the piece is how it classifies personnel by whether or not they require Senate confirmation. For example, Ryan Zinke as Interior Secretary had to be approved by the Senate. Nick Ayers, Pence’s former chief of staff, did not.

Importantly each name serves as a link to the story about the person’s departure. It serves as a nice way of leading the user to additional content while keeping them inside the graphic.

The further down the piece you go, there are notable sections where blocks of body copy appear in the centre of the page. These provide much more context to the comings and goings around that part of the timeline.

Credit for the piece goes to Kevin Schaul, Reuben Fischer-Baum, and Kevin Uhrmacher

Are Baseball’s Big Contracts Worth It?

On Tuesday the San Diego Padres signed Manny Machado to a guaranteed contract worth $300 million over the next ten years—though he can opt out after five years. Machado was one of two big free agents on the market, the other being Bryce Harper. One question out there is whether or not these big contracts will be worth it for the signing teams. This piece yesterday from the New York Times tries to look at those contracts and how the players performed during them.

Oh, David Price…
Oh, David Price…

Like the piece we looked at Tuesday, this takes a narrative approach instead of a data exploratory approach—the screenshot above is halfway through the read. Unlike the Post piece, this one does not allow users to explore the data. Unlabelled dots do not reveal the player and there is no way to know who they are.

Overall it is a very strong piece that shows how large and long contracts are risky for baseball teams. The next big question is where, for how long, and how much will Bryce Harper sign?

Credit for the piece goes to Joe Ward and Jeremy Bowers.

Be Like Mike?

Back in 2012 the New York Times ran what is a classic data visualisation piece on Mariano Rivera. It tracked the number of saves the legendary Yankees closer had over his career and showed just how ridiculous that number was—and how quickly he had attained it. Last week, the Washington Post ran a piece that did something very similar about LeBron James, a future basketball legend, and Michael Jordan, definitely a basketball legend.

They might have game.
They might have game.

The key part of the piece is the line chart tracking points scored, screenshot above. It takes the same approach as the Rivera piece, but instead tracks scored points. Unlike the Rivera piece, which was more “dashboard” like in its appearance and function, allowing users to explore a dataset, this is more narratively constructed. The user scrolls through and reads the story the authors want you to read. Thankfully, for those who might be more interested in exploring the dataset, the interactivity remains intact as the user scrolls down the article.

While the main thrust of the piece is the line chart, it does offer a few other bar and line charts to put James’ career into perspective relative to the changing nature of NBA games. The line chart breaking down the composition of James’ scoring on a yearly basis is particularly fascinating.

But, don’t ask me about how he fits into the history of basketball or how he truly compares to Michael Jordan. Basketball isn’t my sport. But this is a great piece overall.

Credit for the piece goes to Armand Emamdjomeh and Ben Golliver.

Trump’s Executive Time

Tonight President Trump will give his State of the Union address, the annual speech about the president’s goals and agenda. Today I have a work meeting about management practices. So when I read this piece yesterday by Axios on Trump’s schedule (from a leak of November and December dates), I figured what better piece to highlight here on Coffeespoons.

All the orange…
All the orange…

To be fair, the concept is pretty straightforward. We have a stacked bar chart with each type of time block represented by a colour. Because the focus of the piece is the Executive Time blocks, I really think the designer did a great job summing the other types of time, e.g. travel and meetings, into one bin. And by being a lighter colour on nearly the same scale as the grey, it helps the orange Executive Time pop. Clearly Executive Time dominates the schedule, which as many analysts have been pointing out, is a departure from recent past presidents.

And, if you’re curious how the time blocks compare, elsewhere in the piece is a stacked bar chart summing all the types of time. Not surprisingly, most of his schedule is Executive Time.

Credit for the piece goes to Lazaro Gamio.

Anak Krakatau

During my winter holiday to London the volcano Anak Krakatau erupted, sending enormous amounts of material sliding into the ocean. The displaced water had to go somewhere and travelled as a tsunami that devastated the Indonesian coastline.

Of course Anak Krakatau is one of several remnants of the much larger volcano of Krakatoa that erupted several times, perhaps most famously in 1883. Anak Krakatau specifically emerged in the late 1920s and has been building ever since until it collapsed almost two weeks ago. But by how much did it collapse?

Until just a few days ago, the skies above the volcano have not permitted detailed photography. But within the last day or so we have started to get images and the BBC put together this piece that looks at Anak Krakatau before and after.

Before on the left, after on the right
Before on the left, after on the right

It is a fairly common convention these days, the slider overtop the two images. But conceptually it shows clearly how the shape of the island has changed, in particular the new bay that has emerged. The other remarkable feature is the extension of land to the presumably east (right) of the image.

Credit for the piece goes to the BBC graphics department.

Election Day

The 2018 midterm elections are finally here. Thankfully for political nerds like myself, the New York Times homepage had a link to a guide of when what polls close (as early as 18.00 Eastern).

I'm not saying you can't keep voting. You just can't keep voting here.
I’m not saying you can’t keep voting. You just can’t keep voting here.

It makes use of small multiples to show when states close and then afterwards which states have closed and which remain open. It also features a really nice bar chart that looks at when we can expect results. Spoiler: it could very well be a late night.

But what I really wanted to look at was some of the modelling and forecasts. Let’s start with FiveThirtyEight, because back in 2016 they were one of the only outlets forecasting that Donald Trump had a shot—although they still forecast Hillary Clinton to win. They have a lot of tools to look at and for a number of different races: the Senate, the House, and state governorships. (To add further interest, each comes in three flavours: a lite model, the classic, and the deluxe. Super simply, it involves the number of variables and inputs going into the model.)

The Deluxe House model
The Deluxe House model

The above looks at the House race. The first thing I want to point out is the control on the left, outside the main content column. Here is where you can control which model you want to view. For the whimsical, it uses different burger illustrations. As a design decision, it’s an appropriate iconographic choice given the overall tone of the site. It is not something I would have been able to get away with in either place I have worked.

But the good stuff is to the right. The chart at the top shows the percentage of likelihood of a particular outcome. Because there are so many seats—435 are up for vote—every additional seat is between almost 0 and 3%. But taken in total, the 80% confidence band puts the likely Democratic vote tally at what those arrows at the bottom show. In this model that means picking up between 20 and 54 seats with a model median of 36. You will note that this 80% says 20 seats. The Democrats will need 23 to regain the majority. A working majority, however, will require quite a few more. This all goes to show just how hard it will be for the Democrats to gain a workable majority. (And I will spare you a review of the inherent difficulties faced by Democrats because of Republican gerrymandering after the 2010 election and census.) Keep in mind with FiveThirtyEight’s model that they had Trump with a 29% chance of victory on Election Day 2016. Probability and statistics say that just because something is unlikely, e.g. the Democrats gaining less than 20 seats (10% chance in this model), it does not mean it is impossible.

The cartogram below, however, is an interesting choice. Fundamentally I like it. As we established yesterday, geographically large rural districts dominate the traditional map. So here is a cartogram to make every district equal in size. This really lets us see all the urban and suburban districts. And, again, as we talked about yesterday, those suburban districts will be key to any hope of Democratic success. But with FiveThirtyEight’s design, compared to City Lab’s, I have one large quibble. Where are the states?

As a guy who loves geography, I can roughly place, for example, Kentucky. So once I do that I can find the Kentucky 6th, which will have a fascinating early closing race that could be a predictor of blue waviness. But where is Kentucky on the map? If you are not me, it might be difficult to tell. So compared to yesterday’s cartogram, the trade-off is that I can more easily see the data here, but in yesterday’s piece I could more readily find the district for which I wanted the data.

Over on the Senate side, where the Democrats face an even more uphill battle than in the House, the bar chart at the top is much clearer. You can see how each seat breakdown, because there are so fewer seats, has a higher percentage likelihood of success.

In the Senate, things don't look good for the Democrats
In the Senate, things don’t look good for the Democrats

The take away? Yeah, it looks like a bad night for the Democrats. The only question will be how bad does it go? A good night will basically be the vote split staying as it is today. A great night is that small chance—20%, again compared to Trump’s 29% in 2016—the Democrats narrowly flip the Senate.

Below the bar chart is a second graphic, a faux-cartogram with a hexagonal bar chart of sorts sitting above it. This shows the geographic distribution of the seats. And you can quickly understand why the Democrats will not do well. They are defending a lot more seats in competitive states than Republicans. And a lot of those seats are in states that Trump won decisively in 2016.

That's a lot of red states…
That’s a lot of red states…

I have some ideas about how this type of data could be displayed differently. But that will probably be a topic for another day. I do like, however, how those seats up for election are divided into their different categories.

Unfortunately my internet was down this morning and so I don’t have time to compare FiveThirtyEight to other sites. So let’s just wrap this up.

Overall, what this all means is that you need to go vote. Polls and modelling and guesswork is all for nought if nobody actually, you know, votes.

Credit for the poll closing time map goes to Astead W. Herndon and Jugal K. Patel.

Credit for the FiveThirtyEight goes to the FiveThirtyEight graphics department.

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.

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.