Contextual Scatter Plots

I know I mentioned that I would review the coverage of the Orlando shootings this week in more depth than I did on Monday. But, allow me an interruption for a nice little piece that I wanted to get to last week. If anything, it’s far less serious.

Scatter plot
Scatter plot

My apologies for my focus of late on small graphics, but I really think they are underappreciated component of providing context to written analysis. And this piece from FiveThirtyEight about the point scoring accompanies some good analysis that actually made some sense to this non-basketball fan.

Note the two finals-playing teams are highlighted—and importantly how the text is cleared with interrupted chart lines, a very nice touch—while other teams remain visible but unidentified for context.

Credit for the piece goes to Neil Paine.

Not All Charts Are Necessary Part 2

The table option
The table option

Monday I examined a chart from the BBC that in my mind needlessly added confusing visual components to what could have been a straight table. So here we take a look at some other options that could have been used to tell the same story. The first is the straight forward table approach. Here I emphasised the important number, that of those killed. I opted to de-emphasise the years and the injured in the table. Also, since the bulk of my audience is from the United States, I used the two-letter states codes.

But let us presume we want a graphic because everyone wants everything to be visual and graphic. Here are two different options. The first takes the table/graphic from the BBC and converts it into a straight stacked bar chart, again with emphasis on the dead. I consolidated the list into a single column so one need not split their reading across both the horizontal and vertical.

As a stacked bar chart
As a stacked bar chart

And then if you examine the dates, one can find an interesting component of the data. Of the top-eight shootings, all but two occurred within the last ten years. So the second version takes the graphic component of the stacked bars from the first and places them on a timeline.

In a timeline
In a timeline

For those that wonder about the additional effort needed to create three different options from one data set, I limited myself to an hour’s worth of time. A little bit of thought after examining the data set can save a lot of time when trying to design the data display.

Tables of Insight

Yesterday I opined about how simple tables can convey meaningful information without the aid of unnecessary chart elements. And while we will get back to that post, I did want to take a moment to share an older piece from the New York Times I recalled and that has been updated since Orlando.

The piece uses a table to compare the gun homicide rates for various countries and compares it to other causes of death. Being killed by a gun in the Netherlands is as likely as dying by accidental gas poisoning in the United States. It puts the absurdly high gun homicide rates in the United States in a new light.

A table of death
A table of death

Credit for the piece goes to Kevin Quealy and Margot Sanger-Katz.

Not All Charts Are Necessary

I will be trying to do a longer piece on the data visualisations surrounding the shootings in Orlando later this week. But for starters, a simple point through this piece from the BBC—not that they are the only culprits of this. Not all data-driven stories need visualisations. Sometimes a nicely typeset table will do the job better and faster.

Green circles?
Green circles?

An actual table with typographic emphasis on the tables would have been better and clearer than this. Or with a little more time and effort—not that those always exist in a journalism organisation—something more appropriate to the type of data could have been designed.

Credit for the piece goes the BBC graphics department.

Independent Candidates

Well, the election battleground has been set: Trump vs. Clinton. (Yes, I know the District of Columbia has yet to vote.) For those unhappy with the choices presented, the question of “what about a third party candidate?” arises. (Yes, I know there is both a Libertarian Party and Green Party already.) Months ago, FiveThirtyEight looked at where Michael Bloomberg fell as a third party candidate, a run he briefly considered. Turns out he too moved out of the middle and into one of the four corners of the board.

The lay of the land for outsider candidates, ca January
The lay of the land for outsider candidates, ca January

Credit for the piece goes to Nate Silver.

Counterbalancing Presidential Support

The night after the California primary—or as an East Coaster should say, the night of the New Jersey primary—we take a look at how US presidents often experience a counterbalancing political force in state, gubernatorial, House, and Senate races. The content comes from the Washington Post and it makes use of nicely annotated graphics, including the screenshot below.

How Senate control changed
How Senate control changed
How Senate control changed
How Senate control changed

What I enjoy about the piece, however, is how it responds to a narrower browser, like one might see on a mobile phone. The screenshot to the right shows how the data visualisation changes. You can see how some of the annotations disappear, like the note about Nixon’s support growing.

The same adaptation to the display occurs for the other graphics throughout the piece, with axes and orientations changing to take advantage of the more vertical orientation.

I also think it is worth pointing out that the more illustrative ornamentation of the piece, i.e. the presidential illustrations, drop off completely. I could have lived without them as they do not contribute directly to the data story. I also think the white lines on the charts above could be removed to make the narrower margins more visible on the charts.

Credit for the piece goes to Stephanie Stamm.

Fact Checking Trump’s Small Multiples

Today marks the end of primary season for the US presidential election. By all accounts, at night’s end Hillary Clinton will be the Democratic nominee, but Bernie Sanders, while unlikely to win, could make California interesting tonight. And then there is Donald Trump. He is the Republican Party’s presumptive nominee and man, can that guy tweet.

Thursday he retweeted a set of small multiple charts arguing that President Obama’s legacy is an absolute disaster.

Trump's retweeted charts
Trump’s retweeted charts

Friday the Washington Post went through all nine points and fact-checked the charts, this being the refutation of the Food Stamps chart.

Food stamps are actually going back down
Food stamps are actually going back down

The whole thing is worth a quick read.

Credit for the piece goes to Philip Bump.

Miniature Ball Fields

Last week Jackie Bradley Jr., the starting centerfielder for the Boston Red Sox, saw his hit-streak end at 29 games. For those of you who do not follow baseball, that means he hit the ball and reached first base safely without causing an out for 29 games in a row. Quite a feat. Anyway, because it is a feat, the story gets covered and in this case, by the Boston Globe.

They wrote several articles on Bradley and the hit streak, but this one included a small, interactive graphic that mapped out his hits. Because a streak exists over time, the component includes a slider to show how the hits have progressed.

Bradley hit to all parts of the field
Bradley hit to all parts of the field

Worth keeping in mind that this was merely a sidebar graphic, not a large and fully immersive piece. The piece itself features only a few tables detailing baseball data comparisons, but it exists in a new design layout from the Globe featuring bigger, glossier photographs. Not all graphics need to be the biggest element on the page. From a pacing perspective, it sometimes helps to have a small graphic placed next to the important text to provide immediate context. Speaking of context…

The graphic in the context of the page
The graphic in the context of the page

Overall, a very nice piece.

Credit for the piece goes to the Boston Globe graphics department.

Your State and the Google

Well today has arrived and it is finally Friday. So if you are a Pennsylvanian like me, according to research by Estately (hat tip to a good friend and regular reader), the question I am likely asking is “When is X-Files?”. What did your state enquire of the Google?

Where is the Internet? Who is Spain?  Why is Hitler?
Where is the Internet? Who is Spain? Why is Hitler?

I mean I liked the new series. Even if just for the rush of nostalgia.

Credit for the piece goes to Ryan Nickum.

Bonus points if you get the reference.