Follow the State’s Money

In politics, it is really easy and often popular to bash the federal government. Especially when it comes to its penchant for collecting taxes to pay for things. And sometimes those things are in other states than your own. But do you know how much federal money goes back to your own state? Well now you can thank the Pew Charitable Trusts for putting together this piece that explores what percentage of state budgets is comprised of federal grant money.

Federal money for state budgets
Federal money for state budgets

While the piece also includes a donut chart—because why not?—my biggest gripe is with the choropleth and the choice of colour for the bins. If you look carefully at the legend, you will see how both the lowest and highest bins use a shade of blue. That means blue represents states that receive less than 25% of their budget from federal grants and also states that receive more than 40% of their budget from the same federal grants. But if your state is between 25% and 40%, your state suddenly turns a shade of green. It really makes no sense. I think the same colour, either blue or green, could be used for the entire spectrum. Or, if the designers really wanted a divergent scheme, they could have used the national average and used that as the breakpoint to show which states are above and which are below said average.

Credit for the piece goes to the Pew Charitable Trusts graphics department.

The Price of Petrol

How much does a gallon of milk cost? That, of course, is one of the classic election questions asked of candidates to see how in touch they are with the common man. But the same can be understood by enquiring whether or not they know how much a gallon of petrol or gasoline costs. And Bloomberg asked that very same question of the United States relative to the rest of the world. And as it turns out, here in the States, fueling our automobiles is, broadly speaking, not as painful as it would be in other countries.

The piece includes the below dot plot, where different countries are plotted on the three different metrics and the dots are colour coded by the country’s geographic region. But as is usually the case with data on geographies, the question of geographic pattern arises. And so the same three metrics presented in the dot plot are also presented on a geographic map. Those three maps are toggled on/off by buttons above the map.

How the US ranks compared to the rest of the world
How the US ranks compared to the rest of the world

A really nice touch that makes the piece applicable to an audience broader than the United States is the three controls in the upper-right of the dot plot. They allow you to control the date, but more importantly the currency and the volume. For most of the world, petrol is priced in litres in local currencies. And the piece allows the user to switch between gallons and litres and from US dollars to the koruna of the Czech Republic.

Credit for the piece goes to Tom Randall, Alex McIntyre, and Jeremy Scott Diamond.

Trump’s Support

The debate was Sunday and here we are on Wednesday. The infamous video is, well, still infamous, but not garnering as much attention half-a-week later. On Monday, the Economist published this piece taking a look at how Trump’s support shifted in the hours and days following the video’s release.

Trump's support fell off really the following day
Trump’s support fell off really the following day

Credit for the piece goes to the Economist’s Data Team.

How Similar Are Pennsylvania and Ohio?

At least politically.

According to this piece from FiveThirtyEight, maybe not as much as they used to be. From a data visualisation standpoint, what stuck out at me was this plot of correlations of how similar various states are. Basically, the closer to the number 1, the more similar, the closer to 0, the less.

Turns out they're not so close
Turns out they’re not so close

I might question the value of placing the numbers within the squares—see what I did there?—because the colours could be used with a legend to indicate the range of similarity. But if this were an interactive piece, it certainly could be done to reveal the number on tap or mouseover.

Anyway, it was interesting to see that among swing states, Pennsylvania is least like Georgia but most like Minnesota. The former, certainly. The latter, who would have guessed, don’t ya know.

Credit for the piece goes to the FiveThirtyEight graphics department.

Religiousness

Today’s post is about religion. One of the two things you are never supposed to talk about in good company. And since the other is politics and since I cover that here frequently, let’s just go all in, shall we?

FiveThirtyEight has an interesting piece about religious diversity and a corresponding lack of religiousness. From a graphics standpoint, the central piece is this chart below.

Diversity and religiousness compared
Diversity and religiousness compared

What I would love, however, is for the plot to be interactive. It would be great to let people check out their own individual home states and see how they compare to the everyone else.

Credit for the piece goes to the FiveThirtyEight graphics department.

UK Performance at the Olympics

The Olympics are over and Team GB did rather well, coming in second in the medals table with 27 gold medals, more than they won back in 2012 when they hosted the Olympics. (See my piece four years ago where a colleague of mine and I accurately predicted the UK’s total medal count.)

Consequently the BBC put together an article with several data-driven graphics exploring the performance and underpinnings of Team GB. This screenshot captures a ranking chart that generally works well.

How the Olympics rankings have changed over the years
How the Olympics rankings have changed over the years

However, the use of the numbers within the dots is redundant and distracting. A better decision would have been to label the lines and let the eye follow the movement of the lines. A good decision, however, was to label the grey lines for those countries entering and falling out of the Top-5.

Credit for the piece goes to the BBC graphics department.

Pill Popping Power

But not likely. As this FiveThirtyEight piece explains, steroids are not likely the cause of the increased power exhibited this year by Major League Baseball. The article goes into a bit of detail, but this set of small multiples does a nice job comparing several other factors that could be at play.

How different factors increased power or not
How different factors increased power or not

What I like about the piece is how each line chart is centred on the year where the factor came into play. And then to the right and left are ten years before and after. Maybe a little bit more could have been done to highlight the differing years—I admit that I missed that at first—but the concept itself is solid.

Credit for the piece goes to the FiveThirtyEight graphics department.

Raining Maps Monday

One of the things I like about Chicago’s WGN network is its weather blog. They often include infographic-like content to explain weather trends or stories. But as someone working in the same field of data visualisation and information design, I sometimes find myself truly confused. That happened with this piece last Friday.

Pay attention to the map in the upper-right
Pay attention to the map in the upper-right

The map in the upper-right in particular caught my attention and not in the good way. The overall piece discusses the heavy rainfall in the Chicago area on Thursday and the map looks at the percentage increase in extreme weather rainfall precipitation. All so far so good. But then I look at the map itself. I see blue and thing blue > water > rainfall. The darker/more the blue, the greater the increase. But, no—check out Hawaii. So blue means less rainfall. But also no, look at the Midwest and Southeast. So does green mean anything? Beyond being all positive growth, not that I can tell. As best I can tell, the colour means nothing in terms of rainfall data, but instead delineates the regions of the United States—noting of course they are not the standard US Census Bureau regions.

So here is my quick stab at trying to create a map that explains the percentage growth. I have included a version with and without state borders to help readers distinguish between states and regions.

My take on the map
My take on the map

And what is that at the bottom? A bar chart of course. After all, with only eight regions, is a map truly necessary especially when shown at such an aggregate level? You can make the argument that the extreme rainfall has, broadly speaking, benefitted the eastern half of the United States. But, personally speaking, I would prefer a map for a more granular set of data at the state or municipality level.

Credit for the piece goes to Jennifer Kohnke and Drew Narsutis.

OD’ing in Philly

Another day in Philadelphia, another post of Philly data visualisation work. Here we have a piece from 2015 that was updated earlier this spring. It looks at overdose rates in the Philadelphia region, including parts of New Jersey. It does include a map, because most pieces like this typically do. However, what I really find interesting about the piece is its use of small multiple line charts below to take a look at particular counties.

The piece overall is not bad, and the map is actually fairly useful in showing the differences between Jersey and Philadelphia (although why New Jersey is outlined in black and the Philly suburban counties are not I do not know). But I want to take a look at the small multiples of the piece, screenshot below.

Philly area counties
Philly area counties

You can see an interesting decision in the choice of stacked line charts. Typically one would compare death rates like for like and see whether a county is above, below, or comparable to the state, local, or national averages. But combining the three gives a misleading look at the specific counties and forces the user to mentally disentangle the graphic. I probably would have separated them into three separate lines. And even then, because of the focus on the counties, I would have shifted the colour focus to the specific counties and away from the black lines for the national average. The black is drawing more attention to the US line than to the county line.

Credit for the piece goes to Don Sapatkin.

Where do Philly’s Cops Live?

I am on holiday for a few days and am visiting Philadelphia. So what better time to cover some Philadelphia-made content? This interactive piece came out last year from Philly.com alongside coverage of the Philadelphia mayoral contest.

Where the cops live
Where the cops live

I want to call out the colour palette for the choropleth in particular. We can see a blue to red system with a stop at yellow in the middle—a divergent palette. With this kind of a setup, I would expect that yellow or the light blue to be zero or otherwise straddle the point of divergence. Instead we have dark blue meaning 0 and dark red meaning 401+. The palette confuses me. It could be that the point of divergence—something around the 200 number—could be significant. It could be the city average, an agreed upon number for good neighbourhood relations, or something. But there is no indication of that in the graphic.

Secondly the colour choice itself. I often hesitate using red (and green) because of the often-made Western connotation with bad. Blue here, it works very well with the concept of the thin blue line, NYPD blue, blue-shirted police. If we assume that there is a rationale for the divergent palette, I would probably place the blue on the high-end of the spectrum and a different colour at the negative end.

Lastly, from the perspective of the layout, Philly has a weird shape. And so that means between the bar chart to the right and the city map on the left the piece contains an awkward negative space. The map could be adjusted to make better use of the space by pointing north somewhere other than up.—why is north up?—to align the Delaware River with the bars. Or, the bars could abut West Philly.

The interactions, however, are very smooth. And a nice subtle touch that orients the reader without distracting them is the inclusion of the main roads, e.g. Broad Street. The white lines are sufficiently thin to not distract from the overall piece.

Credit for the piece goes to Olivia Hall.