9 Comments

Summary:

When you have almost 600 million users and a “social graph” of the connections between them, you can do a lot with that data — so a Facebook intern plotted the connections between millions of users and came up with a map of the socially connected world.

Facebook connection map 3x2

If there’s one thing you get when you have close to 600 million users the way Facebook does, it’s a lot of data about how they are all connected . When you plot those inter-relationships based on location, as one of the company’s engineers found, you get a world map made up of social connections. There are gaps in the data, of course, with dark spots in China and other countries that block the social network (or have large competitors of their own, as Russia does with VKontakte), but the result is an amazing picture of a connected world. If that’s what an intern at Facebook can come up with, imagine what else would be possible with that data.

The visualization is the work of Paul Butler, who is interning with Facebook’s data infrastructure engineering team. As he described in a blog post, Butler started by taking a sample of about ten million pairs of friends from the Facebook data warehouse, then combined that with each user’s current city, added up the number of friends between each pair of cities, and merged that with the longitude and latitude of each city. And then to make the data more visible, Butler says he “defined weights for each pair of cities as a function of the Euclidean distance between them and the number of friends between them.”

I was a bit taken aback by what I saw. What started as a massive blob of data had turned into a surprisingly detailed map of the world. Not only were continents visible, certain international borders were apparent as well. What really struck me, though, was knowing that the lines didn’t represent coasts or rivers or political borders, but real human relationships.

What Butler did with the data is similar to — although much more elaborate than — what a programmer outside Facebook tried to do with some of the site’s profile data, before he was threatened with a lawsuit. Pete Warden scraped information from millions of profiles, then analyzed it to see the connections between states and between countries, and drew interactive maps based on the number of those connections. But Facebook threatened him with legal action, and he was forced to delete the data, because his scraping of user profiles was against the site’s terms of service.

Related GigaOM Pro content (sub req’d):

  1. Really nice map! They should count in also other social networks such as Twitter to cover Brasil.

    Share
  2. [...] to do with some of the site’s profile data, before he was threatened with a lawsuit,” writes GigaOm. “Pete Warden scraped information from millions of profiles and then analyzed it to see the [...]

    Share
  3. Well done to the author for pointing out the asymmetry of information access in his final paragraph. That’s the real story IMO.

    Share
    1. Thanks :-)

      Share
  4. Really cool map! But Mat, the Australia is cut off :-(

    Share
  5. Sorry about the previous comment, I didn’t notice the second image.

    Share
  6. [...] with some of the site’s profile data, before he was threatened with a lawsuit,” writes GigaOm. “Pete Warden scraped information from millions of profiles and then analyzed it to see the [...]

    Share
  7. I would love and hope to be the first person to get a hand of one of the above image of Facebook world map of social connections for my Living room picture and frame in wood wow

    Cheers

    Share
  8. [...] in the last day, we’ve seen some great visualization work by a Facebook data scientist showing the world map of social connections, something Mathew wrote [...]

    Share

Comments have been disabled for this post