Facebook worldwide friendships mapped

Dec 13, 2010

As we all know, people all over the world use Facebook to stay connected with friends and family. You meet someone. You friend him or her on Facebook to keep in touch. These friendships began within universities, but today there are friendships that connect countries. Facebook engineering intern Paul Butler visualizes these connections:

I defined weights for each pair of cities as a function of the Euclidean distance between them and the number of friends between them. Then I plotted lines between the pairs by weight, so that pairs of cities with the most friendships between them were drawn on top of the others. I used a color ramp from black to blue to white, with each line’s color depending on its weight. I also transformed some of the lines to wrap around the image, rather than spanning more than halfway around the world.

In other words, for each pair of countries with a friend in one country and a friend in the other, a line was drawn. The more friends and distance between two countries, the brighter the lines on a black-blue-white color scale. The “stronger” connections were drawn on top, so they are more visually prominent.

It might remind you of Chris Harrison’s maps that show interconnectedness via router configurations.

In areas of high density it looks more or less like population density. Or even more interesting, you can compare the above section to Ben Fry’s All Streets, which maps all the roads in the United States. Physical connections look a lot like digital connections.

Most interesting though, I think, are not the places that are lit up, but the relatively dark ones, where Facebook has yet to reach. There are still huge sections of complete black:

Check out the high-resolution version and more details on the process here. One interesting note for the R fanboys. This was done in your favorite open-source stat software for computing and graphics.

[Facebook via ReadWriteWeb]

21 Comments

Favorites

How You Will Die

So far we’ve seen when you will die and how other people tend to die. Now let’s put the two together to see how and when you will die, given your sex, race, and age.

One Dataset, Visualized 25 Ways

“Let the data speak” they say. But what happens when the data rambles on and on?

A Day in the Life of Americans

I wanted to see how daily patterns emerge at the individual level and how a person’s entire day plays out. So I simulated 1,000 of them.

Interactive: When Do Americans Leave For Work?

We don’t all start our work days at the same time, despite what morning rush hour might have you think.