Gerrymandering Pennsylvania Part III

Almost a month ago I wrote about how the Pennsylvania Supreme Court was considering a case involving the state’s heavily gerrymandered US congressional districts, which some have called among the worst in the nation. About a week later the Pennsylvania Supreme Court decided that the map is in fact so gerrymandered it violates the Pennsylvania Constitution. It ordered the Republican-controlled legislature to create a new, non-gerrymandered map that would have to be approved by the Democratic governor. I did not write up that then Pennsylvanian Republicans appealed to the US Supreme Court—no graphics for that story. That appeal was rejected by Justice Alito, but with only days to spare the state legislature then created this new map and sent in this new one on Friday.

The proposed congressional districts, black lines, overlaid atop electoral precincts, the pretty colours.
The proposed congressional districts, black lines, overlaid atop electoral precincts, the pretty colours.

The problem, according to the governor and outside analysts, is that the map is just as gerrymandered as the previous one. Consequently, yesterday the governor rejected the new map and so now the Pennsylvania Supreme Court, working with outside experts in political redistricting, will create a new congressional map for Pennsylvania. Hopefully before May when the state has its first primaries.

But just how do we know that the new map, despite looking different, was just as gerrymandered. Well, the Washington Post plotted the election margins for districts in 2016 using precinct data versus their proposed 2018 map overlaid atop those same precincts. What did they get? Almost identical results. The districts are no longer Goofy Kicking Donald Duck-esque, but they exhibit the same Republican bias of the previous map.

Trying to do the same thing to get a different or the same result?
Trying to do the same thing to get a different or the same result?

For the purposes of design, I probably would have dropped the “PA-” labels, as they are redundant since the whole plot examines Pennsylvania congressional districts. I think that, perhaps with a marker, and maybe a line of no-change would go a bit further in more clearly showing how the ultimately rejected map was nearly identical to its previous incarnation.

Credit for the map borders goes to the Pennsylvania state legislature, the version here to the Washington Post Wonkblog. All Wonkblog for the scatterplot.

Post-Brexit Trading

Off of yesterday’s piece looking at the potential slowdown in British economic growth post-Brexit, I wanted to look at a piece from the Economist exploring the state of the UK’s current trade deals.

Still loathe the use of bubbles though…
Still loathe the use of bubbles though…

I understand what is going on, with the size of the bubbles relating to British exports and the colour to the depth of the free trade deal, i.e. how complex, thorough, and wide-ranging. But the grouping by quadrant?

With trade, geographical proximity is a factor. Things that come from farther cost more because fuel, labour time, &c. One of the advantages the UK currently has is the presence of a massive market on its doorstep with which it already has tariff- and customs-less trade—the European Union.

Consequently, could the graphic somehow incorporate the element of distance? The problem would be how to account for routes, modes of transport, time—how long does a lorry have to queue at the border, for example. Alas, I do not have a great answer.

Regardless of my concepts, this piece does show how the most valuable trade partners already enjoy the deepest and largest trade deals, all through the European Union. And so the UK will need to work to replicate those deals with all of these various countries.

Credit for the piece goes the Economist Data Team.

Brexit Is Bad News for British Regional Growth

A few days ago, a confidential report by the British Treasury was leaked to the press. It confirmed what many had feared, that the economic forecasts for the regions of the UK were not that rosy under different models for different Brexit scenarios.

The scenarios looked at the change in growth for regions over the next fifteen years under three conditions: leaving the European Union, but remaining in the single market; leaving the single market but crafting a free trade agreement with the EU; and no deal, the so-called Hard Brexit.

I charted the data and it speaks for itself. Brexit is bad. The least worst option would be to remain in the single market. The North East, for my non-British readers that’s the area south of Scotland and home to Newcastle, is particularly not forecast to do so well in a hard Brexit.

Brexit is bad across all regions of the UK, least so in London and the South West.
Brexit is bad across all regions of the UK, least so in London and the South West.

As the debate rages on in the UK about how to proceed, the data should contribute to the conversation. While forecasts and projections can be wrong—what is the certainty of these forecasts, for example—it does make one wonder that if a better economy was a selling point of Brexit, do these forecasts make the idea of Brexit still worth it?

Data comes from the BBC. Credit for the design is mine.

Baseball’s Free Agency Problem

Baseball season begins next week. For different teams it starts different days, but for the Red Sox at least, pitchers and catchers report to Spring Training on Tuesday. But the Red Sox, along with many other teams throughout baseball, have holes in their roster. Why? Arguably because nearly 100 free agents remain unsigned.

I do not intend to go into the different theories as to why, but this has been a remarkably slow offseason. How do we know? Well using MLB Trade Rumours listing of the top-50 free agents this year, and the signings reported on Baseball Reference, we can look at the upper and middle, or maybe upper-middle, tiers of free agency.

The upper tiers of baseball's free agent market, as of 9 February
The upper tiers of baseball’s free agent market, as of 9 February

Kind of messy to look at with all the player labels, but we can see here the projected contracts, in both length and total value, along with the contracts players signed, if they have. And for context we can see how those contracts compares to the Qualifying Offer (QO). What’s that? Complicated baseball stuff that is meant to ensure teams that lose stars or highly valuable players are compensated, especially since they might come from smaller market teams that cannot afford superstar prices. The QO is meant to help competitiveness in the sport. How does it do that? Let’s just say complicated baseball stuff. We should also point out that some players, most notably the Yankees’ Masahiro Tanaka, were expected to opt out of their contracts and try the free market. Tanaka did not, which is why his projection was so far off.

Comparing the signed to the unsigned free agents
Comparing the signed to the unsigned free agents

So is it true that free agency is or has moved slowly? Consider that approximately 100 free agents remain unsigned as of late Thursday night—please no big signings tomorrow morning—and that of the top 50, 22 of them remain unsigned. And if we take the QO as a proxy for the best players in the game, add in two players who were exempt because baseball stuff, we can say that 8 of the 11 best players remain unsigned. Though, in fairness to ownership, three of those players are reportedly sitting on multi-year offers in the nine-figure range.

But if players are unsigned, does that mean they are competing for lower value contracts? Possibly. If we use MLB Trade Rumours’ projected contracts, because in years past they have proven smart at these things, we can see that for the 28 who have signed, it’s a roughly even split in terms of the number of players who have signed for more or less than their projection. Sometimes however, non-monetary factors come into play. Two notable free agents, Todd Frazier and Addison Reed, both reportedly signed lesser value contracts to play closer to a specified geography, in Frazier’s case the Northeast and in Reed’s the Midwest.

How are the signed players doing versus their contract projections
How are the signed players doing versus their contract projections

But the telling part in that graphic is not necessarily the vertical movement, i.e. dollars, but the horizontal movement. (Though we should call out the cases of Carlos Santana and Tyler Chatwood, signed by the Phillies and Cubs respectively, who did far better than projected.) Consider that a team might not have a lot of money to spend and so might extend a contract over additional years, offering job security to a player. Or in a bidding war, the length of the contract might be what leads a player to pick one team over another. In those cases we would expect to see more left-to-right movement. So far we have only had one player, Lorenzo Cain, who signed for more years than expected. Most players who have signed for less have also signed for fewer years. Note the cluster of right-to-left, or shorter-than-expected, contracts in the lower tiers versus the small, vertical-only cluster in the same section for those signing greater than projected contracts.

Lastly, are these trends hitting any specific positional type of player? Well maybe. Ignoring the market for catchers because of how small the pool was—though the case of Jonathan Lucroy as the unsigned catcher is fascinating—we can see that the market has really been there for relief pitchers as there are few of the top-50 remaining on the market. Starting pitchers and outfields, while with quite a few still on the market, have generally done better than projected. But infielders lag behind with numerous players unsigned and those that have signed, most have signed for less than projected.

Are there any trends at the position level
Are there any trends at the position level

But at the same time, I would fully expect that once these higher level free agents come off the board—while one would think they would certainly be signed, who knows in such a weird offseason as this—the unsigned middle and lower tiers will quickly follow suit.

Of course none of this touches upon age. (Largely because lack of time on my part.) Though, in most cases, getting to free agency in and of itself makes a player older by definition the way baseball’s pre-arbitration and arbitration salary periods work. (Again, more baseball stuff but suffice it to say your first several years you play for peanuts and crackerjacks.)

Hopefully by this afternoon—Friday that is—some of these players will have signed. After all, baseball starts next week. If we are lucky this post will be outdated, at least in terms of the dataset, come Monday. Regardless, it has been a fascinating albeit boring baseball offseason.

Credit for the data goes to MLB Trade Rumours and Baseball Reference.

Continuing Resolutions

The Senate reached a compromise on a two-year budget that increases spending by nearly half a trillion dollars on both the military and domestic programmes. This comes after a series of continuing resolutions, which are temporary spending bills that allow the government to function when the fiscal year has begun, but a budget has not been set.

It should pass the Senate, but there are questions about whether House Republicans will pass the budget because of their concerns about adding to the deficit. If it does pass, it could mark a significant step forward in getting the fiscal house in order.

To see just how chaotic the use of continuing resolutions has been, thankfully we have a piece from FiveThirtyEight exploring that issue. Spoiler: we have used it a lot since the late 1990s.

My favourites are when they are used instead of a budget…
My favourites are when they are used instead of a budget…

Credit for the piece goes to Gus Wezerek.

Onwards and Upwards

Yesterday SpaceX launched the Falcon Heavy rocket on its maiden voyage, and then recaptured several, though not all, of its reusable rockets. The Falcon Heavy represents the most powerful rocket available to mankind today, though NASA’s Saturn V of the Apollo programme era was considerably more powerful. That was all the stuff you could read in the news yesterday and today.

But how much more powerful? Thankfully we have the Economist who put together a nice graphic detailing not just the standard size comparisons of the Falcon series to the Saturn V and other famous rocket systems, e.g. the Space Shuttle and its boosters. The Economist graphic also adds information about the payload capabilities and timeframes for either historical operation or expected service dates.

It's big and powerful, but SpaceX still has a long way to go…
It’s big and powerful, but SpaceX still has a long way to go…

From the illustrative side, there were three really nice touches. First, the faint Statue of Liberty to give the rocket height context to famous landmark buildings. Two, the little human figure on the left-hand side to give context to ourselves, these things are big. Three, the ridiculousness of the Saturn V is captured by having its peak break the top frame of the chrome or graphic device, i.e. the red bar, standard on Economist graphics.

Overall a solid piece. (Yes, I know these are liquid fueled.)

Credit for the piece goes to the Economist’s graphics team.

Short and Long Term

One week ago today, President Trump touted soaring stock prices as an indicator of a roaring economy. In truth, stock market prices are not that. They are driven by fundamentals, such as GDP growth, wage increases, and inflation. Furthermore stock prices can be fickle and volatile. Whereas a recession does not begin overnight, the factors build over a period of time, a stock market correction can happen in a single day.

So one week hence, the stock market has seen fully one-third of its gains over the past year wiped out. That is over $1 trillion gone from market funds, 401ks, college saving funds, &c. But again, not to freak people out, these things can and do happen. But because they can and do happen, presidents do not often go touting the stock market as it can come back and bite them.

This morning’s paper therefore had a pleasant graphic to accompany a story about the recent declines. And it was on the front page.

The front page
The front page

Like with the choropleth story I covered a little over a week ago, the graphic in today’s paper was not revolutionary nor earth shattering. It was two line charts as one graphic. What was neat, however, was how it supported two different articles.

One graphic, two articles
One graphic, two articles

But when I looked closer I found what was really neat: context.

Notice the little arrow…
Notice the little arrow…

The chart does a great job of showing that context of adding nearly $8 trillion in value over the course of the administration. But then that sharp decline at the right-side of the chart is blown out into its own detail to show how all was steady until Friday’s economic news was released. I think perhaps the only drawback is how tiny and fragile that arrow feels. I wonder if something a little bolder would better draw the eye or connect the dots between the two charts. Maybe even moving the “… and the last week” line above the chart line would work.

Anyway, I was just curious to see how the charts were depicted on the web. And then lo and behold I was treated to two graphics on the home page. The other is for an article about flood risks to chemical plants, not part of this post. But the focus of our post on the stock market was the same as in print. But here is the homepage with two different graphics, always a treat for a designer like myself.

The New York Times homepage this morning
The New York Times homepage this morning

Credit for the piece goes to the New York Times graphics department.

The Memo

So last week the House of Representatives published a highly controversial memo by Representative Devin Nunes. Why controversial? Because it is apparently missing dozens of pages of additional facts, data, and context. But what the memo does contain are connections between people and things. And this Friday piece from the Washington Post does a good job of trying to explain those connections.

It's just missing a lot of other details…
It’s just missing a lot of other details…

Credit for the piece goes to Darla Cameron, Julie Vitkovskaya, Reuben Fischer-Baum, Ann Gerhart, and Kevin Uhrmacher.

The World Grows On (Part III)

A few days ago I posted about the front cover graphic for the New York Times that used a choropleth to explore 2017 economic growth. Well, this morning whilst looking for something else, I came across the online version of the story. And I thought it would be neat to compare the two.

A very nice graphic
A very nice graphic

Again, nothing too crazy going on here. But the most immediately obvious change is the colour palette. Instead of using that green set, here we get a deep, rich blue that fades to light very nicely. More importantly, that light tan or beige colour contrasts far better against the blue than the green in the print version.

The other big change is to the small multiple set at the bottom. Here they have the space to run all twelve datasets horizontally. In the earlier piece, they were stacked six by two. It worked really well, but this works better. Here it is far easier to compare the height of each bar to the height of bars for other countries.

Credit for the piece goes to Karl Russell.