Analysing Your (Facebook) Social Networks

Earlier this week, Wolfram Alpha released some findings from its analytics project on Facebook. While the results offer quite a bit to digest, the use of some data visualisation makes it a little bit easier. And a lot more interesting.

The results offer quite a bit of detail on interests, relationship statuses, geographic locations, and ages. Below is just one of the small multiple sets, this one looks at the number of friends of different ages for people of different ages. Basically, how many young or old people are friends of young people? Friends of old people?

Friends of Friends for the Ages
Friends of Friends for the Ages

But I was most interested in the analysis of social networks. The mosaic below is indicative of the sheer size of the survey, but also begins to hint at the variance in the social structures of the data donors.

Just Some of the Networks
Just Some of the Networks

While these views are all neat, where it begins to get really interesting is Wolfram Alpha’s work on classifying the different types of social networks. By aggregating and averaging out clusters, simple forms begin to emerge. And after those forms emerged, they were quantified and the results are a simple bar chart showing the distribution of the different types of networks.

Simplified Cluster Distribution
Simplified Cluster Distribution

Overall, some very interesting work. But one might naturally wonder how their own networks are structured. Or just be curious to look at the data visualisation of their own Facebook profile. Or maybe only some of us would. Fortunately, you still can link your account to a Wolfram Alpha account (you have to pay for advanced features, however) and get a report. Below is the result of my network, for those who know me semi-well I have labelled the different clusters to show just how the clustering works.

My Social Networks
My Social Networks

Credit for the piece goes to Wolfram Alpha.

More Effective Cartograms

The other day I posted an example of a good cartogram, actually a pair of good ones from the New York Times. Today, I wanted to share another good example. The Economist created this cartogram, map of Great Britain’s constituencies. What is perhaps most effective in this chart, even more so than in the Times’, is its use of a “traditional” map form for comparison. You quickly get a sense of how large rural Britain’s constituencies are compared to those of London.

Mapping Britain
Mapping Britain

Credit for the piece goes to the Economist.

Cartograms

Continuing this week’s map theme, we have an example of a cartogram from the New York Times. This piece supplements an article about how some manufacturing companies are starting to look away from China as a place for their facilities. There are two maps, the first (not shown here) looks at economic output overall. The second (below) takes that output and accounts for population.

GDP per capita
GDP per capita

Hexagons are used instead of the more familiar squares to represent 500,000 people and the colour is the GDP per capita. The text accompanying the graphic explains how this is a measure of economic potential being (or not being) realised. But what the hexagons allow the map to do is better represent the shapes of the countries. Squares, more common in cartograms, create awkward box-like outlines of countries. That would be fine if countries were often shaped like squares, but they are not.

I am not often a fan of cartograms, but I find this one well executed and the annotations and explanatory text make what might otherwise be confusing far simpler to understand. All in all, a solid piece.

Credit for the piece goes to Mike Bostock and Keith Bradsher.

Choropleth Maps

Keeping with maps, they can be useful, but all too often people fall back upon them because it is a quick and easy way of displaying data for geographic entities. This graphic from the New York Times on ADHD is not terribly complex, but it uses a map effectively.

The article discusses how ADHD rates among states vary, but are still higher in the South. The map supports that argument. Consider how it would be different if every other state were darkened to a different shade of purple. There would be neither rhyme nor reason as to why the map was being used.

A map well done
A map well done

A subtle point worth noting is that only the states falling into the highest bin are labelled. Those are the states that best support the story. The remainder of the states are left unlabelled so as not to distract from the overall piece.

Credit for the piece goes to the New York Times.

Waste Water Disposal Wells

Today’s map comes from the Texas Tribune out of Austin, Texas. The map displays the location of disposal wells, i.e. the sites where the waste water from fracking and related drilling operations are dumped. Firstly, the map hints that the fracking industry is not spread equally across the state.

But secondly, the map does this through the use of hexagons that represent well density. So at a broad, state-wide view, the user sees almost a traditional choropleth. The difference is that these are not natural or political boundaries but rather data constructs designed to aggregate highly granular data points.

Well locations state-wide are aggregated into coloured hexagons
Well locations state-wide are aggregated into coloured hexagons

Even nicer, however, is that if you want to see where disposal wells are in your county or town, the map lets you do that too. Because as you zoom in ever closer, the individual wells appear within the hexagons that they colour. It’s a very solid piece of work.

Individual wells colour the hexagons, but are only visible up close
Individual wells colour the hexagons, but are only visible up close

Credit for the piece goes to Ryan Murphy.

Arming a Civil War

War is good for the arms business. So a long and bloody civil war in Syria is just what arms manufacturers want. And while arming the Syrian government is fairly easy, how do you get weapons and ammunition to the Syrian rebels? The New York Times maps the flow of arms through an almost Sankey-like diagram where the number of flights determines the width of the arrows from source to destination.

And while that would be sufficient information to warrant a map, the Times adds a further layer by showing when the flights arrived. Clearly the civil war began with a certain number of arms. But as the war has both drawn on and become bloodier, new weapons are needed and ammunition needs to be restocked. Those needs likely explain a recent surge in flights.

Map of routes used to arm Syrian opposition forces
Map of routes used to arm Syrian opposition forces

Credit for the piece goes to Sergio Peçanha.

New Data Visualisation Forms

Monday was an odd day, both 1 April and the start of baseball. I had a tough decision to make: Do I post a serious baseball-related piece or a humourous April Fool’s Day one instead? If you recall, I went for the serious baseball option. But that leaves me with Friday, where I try to post work that is a bit on the lighter side of life.

So here is EagerPies, published by EagerEyes on 1 April. It’s in the style of the EagerEyes site, a blog with posts about data visualisation. This selection is EagerPies work to improve upon Minard and the layering of data sets. But if you worry about complexity, fret not for they realised that encoding data in transparency would be a step too far.

Stacked scatter column pies
Stacked scatter column pies

Credit for the piece goes to EagerPies.

The Life Expectancy Gap Between Men and Women

Today’s post comes via my coworker Jonathan and his subscription to National Geographic. The spread below looks at the gap in life expectancy between men and women in the United States. Outliers are highlighted by drawing lines to the counties in question while the same colour scale is used on a smaller map to look at historic data. And of course for those concerned about how the US places amongst its piers on the international stage, a small selection of countries are presented beneath in a dot plot that looks at the differences and averages.

The National Geographic spread
The National Geographic spread
A detail of the choropleth map
A detail of the choropleth map
A closer look at the dot plot
A closer look at the dot plot

Credit for the piece goes to Lazaro Gamio.

Replacing Nomar Garciaparra

I am a fan of the Boston Red Sox and have been since 1999. The first (and sadly only) Red Sox game I saw at Fenway was the day after Nomar Garciaparra hit three home runs in one game. Two of them were grand slams. For you non-baseball folks (NBF) reading this, that is majorly impressive. Anyway, the Red Sox traded him in 2004 to acquire some pieces they needed to make a run for the World Series title that had eluded them for 80+ years (also significant for NBF). The result? My favourite player traded to the Cubs, but my favourite team won the World Series.

But now it’s Opening Day, the kickoff for the baseball season—that reference is for you American football fans. (To be fair, there was a game last night between two Texas teams, but today’s the de facto start.) Since that 2004 trade, however, the Red Sox have not had a consistent, long-term shortstop of the same offensive calibre of Nomar. How bad has this revolving door been? My infographic today looks at the shortstop replacements for Nomar Garciaparra.

Click to go to the full graphic
Click to go to the full graphic

The Economies of Europe

Cyprus has been in the news over the course of this past week because its financial system almost brought the country to bankruptcy. And that has meant trouble for European markets. So now it’s time to look at the economies of Europe once again. And the National Post has done a great job using clear and concise small multiples to examine key metrics for the ten largest European economies—not necessarily EU economies mind you. But at the end of each row, they summed up the country’s outlook in just one or two sentences.

Cropping of the overview for Europe's largest economies
Cropping of the overview for Europe's largest economies

Credit for the piece goes to Richard Johnson, Grant Ellis, John Shmuel, and Andrew Barr.