Last week the Economist published an article sort of about my industry. Now I am a designer and more familiar with the front-end design and some HTML and CSS, but a lot of the things I have designed over the last few years have needed some serious developers with some serious skills. And those guys were the ones who would truly understand this graphic, which looks at the popularity of Python relative to other languages like C++, Java, Javascript, .NET, &c.
Python has certainly climbed in importance
I really like what the designers did here. First and foremost the key chart is a ranking chart showing the popularity of languages since 1988—Java and C have consistently been at the top. But other languages no longer relevant are not even shown. (Where are you, Actionscript?) Those that are both relevant and also mentioned are colour coded within the set.
But the truly nice thing is being able to use the empty space of the lower-left area of the chart to add some context. It shows the growth in Google searches since 2010 in searches for Python.
Bonus note, look at that rise in R since 2008.
Credit for the piece goes to the Economist Data Team.
Last Thursday, Facebook’s share price plunged on the news of some not so great numbers from the company on its quarterly earnings report. The data and number itself is not terribly surprising—it is a line chart. But what I loved is how the New York Times handled this on the front of the Business section on Friday morning.
The overall page
I found the layout of the page and that article striking. In particular, each day of the share price is almost self-contained in that the axis lines start and stop for each day. I question the thickness of the stroke as something a little thinner might have been a bit clearer on the data. However, it might also have not been strong enough to carry the attention at the top of the page. As it is, that attention is needed to draw the reader down the page and then down across the fold.
Additionally, the designers were sensitive to the need to draw that attention down the page. In order to do that they kept the white space around the graphic and kept the text to two small blocks before moving on to the interior of the section.
Credit for the story goes to Matthew Philips. Although I’m pretty sure the page layout goes to somebody else.
The weather in Philly the past week has been just gross. It reminds of Florida in that it has been hot, steamy, storms and downpours pop up out of nowhere then disappear, and just, generally, gross. I do not understand how people live in Florida year round. Anyway, that got me thinking about this piece from a month ago in the New York Times. It looked at the impact of climate change and living conditions in South Asia. Why is South Asia important? Well, it is home to nearly a billion people, a large number of whom are poor and demanding resources, and oh yeah, has a few countries that have fought several wars against each other and are armed with nuclear weapons. South Asia is important.
I ain’t moving to Nagpur, India. That’s for sure.
The map from the piece—it also features a nice set of small multiples of rising temperatures in six countries—shows starkly how moderate emissions and the high projection of emissions will impact the region. Spoiler: not well. It notes how cities like Karachi, for example, will be impacted as hotter temperatures mean lower labour productivity means worse public health means lower standard of living. And it doesn’t take a rocket scientist to see how things like demand for water in desert or arid areas could spark a conflict between Pakistan and India. Although, to be very clear, the article does not go there.
As to the design of the graphic, I wonder about the use of white for no impact and grey for no data. Should they have been reversed? As it is, the use of white for no impact makes the regions of impact, most notably central India, stand out all the more clearly. But it then also highlights the regions of no data.
Credit for the piece goes to Somini Sengupta and Nadja Popovich.
Everybody loves maps. Unfortunately this is not a map to love. The Economist looked at the global status of the free press and its decline around the world.
If only it were a larger map
The graphic is a neat little package of a map to anchor the narrative and a few callout countries with their general declines—or in Tunisia’s case the reversal thereof—highlighted. But I do have a few issues with the piece.
Do the lines need to be curved? Some certainly make sense, e.g. how do you get from the Turkey box to the outline of Turkey? But then for Afghanistan, a straight line through Balochistan, Pakistan would mean the line would not have to cover Pakistan, India, curve around Sri Lanka, and then finally reach the box.
In the little boxes, I also wonder if the lines need to be as thick as they are. Could a lighter stroke weight improve the legibility of the charts?
And to be super picky, I wonder if the stroke outlines of the countries are complete. My trained eye fails to register an outline of both the European part of Turkey and of the Russian oblast of Kaliningrad.
Credit for the piece goes to the Economist’s Data Team.
A few months ago I covered an editorial piece from the New York Times that looked at all the action, by which I mean inaction, the federal government had taken on gun violence in the wake of some horrific shootings. Well on Saturday the Washington Post published an article looking at how there has been action on the state level.
Where is Pennsylvania?
It used a series of small multiple maps of the United States with states represented as tiles or boxes. States are coloured by whether they took action in one of six different categories. It is a pretty simple and straightforward design that works well.
The only thing I am unsure about is whether the colours are necessary. A single colour could be used effectively given that each map has a clear title directly above it. Now, if the dataset were to be used in another chart or graphic alongside the maps where the types of action were combined, then colours could be justified. For example, if there was a way to see what actions a state had taken, i.e. pivot the data display, the different colours could show what from the set the state had done.
And in Pennsylvania’s case, sadly, that is nothing.
Yesterday, space nerds were alerted to the news that 12 new moons have been discovered in orbit of Jupiter. These are much smaller than Jupiter’s moon Ganymede, which is the largest moon in the Solar System and is larger than even Mercury. The point is that there are almost certainly no Ganymede-esque moons orbiting Jupiter that remain undiscovered.
But despite their small size, these moons do have some interesting features, as the article I read in the Guardian pointed out. The most interesting is the orbit of the moons. In general, Jovian moons orbit either prograde, i.e. with the orbit of Jupiter, or retrograde, i.e. against the orbit of Jupiter. The two inner moons discovered are prograde and nine of the other 12 are in an outer orbit of retrograde moons. But Valetudo, the 12th, which orbits in the retrograde group, actually orbits in a prograde fashion. The graphic below from the Carnegie Science Institute does a pretty good job of showing this.
Consider this your collision warning
Ultimately this means that at some point in the future, Valetudo will slam head-on collision style with another Jovian moon. And reportedly that will be so intense we will be able to see it from Earth. Bangin’. Catch is that it will not likely happen anytime soon.
As for the graphic above, I am of two minds. I generally like the use of colour. The bright green contrasts starkly against the red—though it should be pointed out it would fail a red-green colour blindness test. And then the interesting, but admittedly less interesting prograde and previously discovered Galilean moons are in more muted blues and purples, which puts them further into the background. It works nicely as a complete package.
But should it be on a deep blue background? Lots of space visualisations use black backgrounds, including mywork and the workofothers. But sometimes work that uses a white or otherwise light background could more clearly show things like orbits. It is difficult to say with certainty because of the lack of a light background for comparison’s sake.
The other thing that gets to me is the viewing angle of the orbits. Clearly we are looking neither dead-on nor from high above. And that makes it a bit more difficult to compare orbits. Of course these might not all be on the same plane because orbits are in three-dimensional space. But if the orbits were all shown from above, it would certainly aid with problems of foreshortening.
All in all, though, I shan’t complain because we have more moons in the Solar System. And who knows how many more smaller moons both Jupiter and Saturn have.
Credit for the piece goes to Roberto Molar Candanosa.
Well, football is not coming home. But the World Cup continues. And should we get another final match tied at the end of extra time, that means penalty shoot outs. Thankfully, the Economist did a nice job detailing the success rates on goal by placement of the ball.
Coin flips
The only thing I am unsure about is whether the dots represent the actual placement or just positioning within the aggregate zone. The colours work well together and the graphic of the goal is not overpowering.
Credit for the piece goes to the Economist Data Team.
Today is the semifinal match between England and Croatia. I could have posted this yesterday, but the US Supreme Court selection seemed more important. But today’s post is a simple scatter plot from FiveThirtyEight. It is part of a broader article comparing the four semifinalists of the World Cup. (Spoiler alert, France won its match.)
No drama today, please
In terms of design, we can contrast this to yesterday’s dot plot about Kavanaugh. There the highlighted dot was orange with a black outline. Here, same deal. But yesterday, the other justices were shown with black dots and an empty dot for retiring Justice Kennedy. Here all the other countries in the World Cup are orange dots.
I wonder, given the orangeness of the other countries, maybe a solid black dot would have worked a little better for the four semifinalists. Or to keep the orange with black outline dots, maybe a lighter orange or grey dots for the other World Cup teams. (I think black would probably be too strong in this case.)
Overall, it shows that today’s match between England and Croatia will be tough. And should England advance, a match against France will be even tougher.
Last night President Trump nominated Merrick Garland to fill the seat left by Anthony Kennedy. Just kidding. But he is up for a vote in the Senate. Also just kidding.
No, instead, President Trump nominated a very conservative judge for the Supreme Court, Brett Kavanaugh. How conservative? Well, FiveThirtyEight explained in a piece that plotted the judge against his probably peers on the bench, based upon one measure of judicial ideology. And it turns out, spoiler, Kavanaugh sits just to the left of Clarence Thomas. And he sits pretty well to the right.
To the right, to the right, to the right goes the Court
The graphic itself is an evolution of a piece from last Friday that looked at what were thought to be the four main candidates on Trump’s shortlist.
A definite lean to the right
The final piece, with only Kavanaugh plotted, removes the other potential candidates. And it functions well, using the brighter orange to draw attention from the black dots of the sitting bench and the open dot of the vacant seat. My slight issue is with the predecessor graphic that shows the four candidates.
I probably would have just left off Barrett as she did not have a score. While I have no doubt that she would score to the right based upon all the reading I have done over the past several days, it feels a bit odd to place her on the graphic at all. Instead, I probably would have used an asterisk or a footnote to say that she did not have a score and thus was not placed.
Credit for the piece goes to Oliver Roeder and Amelia Thomson-DeVeaux.
As most of you know, I am what would have been called a loyalist. That is, I disagree with the premise of the American Revolution. People often mistake that as saying I think Americans should be British. No, although I personally would not mind that. Instead, America would likely have been a lot more like Canada and it would have obtained its independence peacefully through an organic, evolutionary process leading to, likely, some kind of parliamentary democracy.
Every year, somebody digs up articles people have written about why the Revolution was a bad idea. I have seen a lot of them. But I had not seen this Washington Post article that looked at constitutional monarchies. It was published during the whole royal baby buzz back in 2013. It examines why constitutional monarchies are not so bad, and might even be better than presidential republics.
God save the Queen
The above graphic is far from great. The same goes for the other graphic in the article. I probably would have added more emphasis on the constitutional monarchies as they get overwhelmed by the number of non-constitutional monarchies s in the scatter plot. That could be through a brighter blue or keeping the pink and setting the rest to a light grey. I perhaps would have added a trend line.