This map just illustrates how people use Facebook to connect across the globe.
Facebook intern Paul Butler was interested in the locations of friendships, so he decided to create a visualization of Facebook connections around the globe. How local are our friends? Where are the highest concentration of friendships? How do political and geological boundaries affect them?
He started by using a sample of 10 million pairs of friends, and correlated them with their current cities and then mapped that data using the coordinated of each city.
Then he had to create just the right effect to show connecting relationships between thousands of cities . He also wrote a Facebook note explaining some of the challenges he faced creating his visualization:
“I began exploring it in R, an open-source statistics environment. As a sanity check, I plotted points at some of the latitude and longitude coordinates. To my relief, what I saw was roughly an outline of the world. Next I erased the dots and plotted lines between the points. After a few minutes of rendering, a big white blob appeared in the center of the map. Some of the outer edges of the blob vaguely resembled the continents, but it was clear that I had too much data to get interesting results just by drawing lines. I thought that making the lines semi-transparent would do the trick, but I quickly realized that my graphing environment couldn’t handle enough shades of color for it to work the way I wanted.
Instead I found a way to simulate the effect I wanted. 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.”
After some tweaking, he eventually came up with the amazing visualization you see here. At first glance, it provides some expected data; the U.S. has the highest concentration of Facebook friendships, and Africa has the lowest concentration. While most of Russia and Antarctica are nowhere to be found, the rest of the world is easily identifiable.
What do you think of the visualization? I think it makes a great wallpaper.
Let us know what you think in the comments.



Broken link?
No, looks like Facebook Security… It works if you click on follow link on that bar at the top… I need to fix that…