Categories: Social Media

Visualising the world’s relationships through Facebook [Graphic]

Facebook intern Paul Butler (@paulgb) has created this really interesting visualisation of Facebook relationships around the world. Butler used a subset of 10 millions friend pairs and Facebook social graph data to map friend connections with their geographical locations.

Butler explains some of the challenges he faced in making this visualisation in a Facebook note:

“I began by taking a sample of about ten million pairs of friends from Apache Hive, our data warehouse.

“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 a few minutes of rendering, the new plot appeared, and I was a bit taken aback by what I saw. The blob 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.

“It’s not just a pretty picture, it’s a reaffirmation of the impact we have in connecting people, even across oceans and borders.”

Albizu Garcia

Albizu Garcia is the Co-Founder and CEO of Gain -- a marketing technology company that automates the social media and content publishing workflow for agencies and social media managers, their clients and anyone working in teams.

View Comments

Recent Posts

WEF ‘Summer Davos’ in China to tackle transhumanism, AI & One Health agendas

The program agenda for the World Economic Forum's (WEF) 16th Annual Meeting of the New…

2 days ago

10 design and architecture writers to put on your radar this year

It’s easy to get caught up in the visuals—perfectly styled rooms, dramatic before-and-afters, bold architectural…

4 days ago

Elon Musk Turns News Into a Bet — Is This the Future of Honest Media?

Polymarket and xAI have created a feedback loop where headlines aren’t written - they’re traded.…

4 days ago

10 thoughtful gifts for the man who says he wants nothing, but deserves everything: Dad.

Father’s Day is just around the corner, and so is the age-old question: what do…

4 days ago

Why software release speeds are being throttled 

As the race for innovation continues, experts have flagged that how well an enterprise is…

5 days ago

As both recruiters and candidates suffer from fatigue, SF-based Goldbridge.ai has a solution 

Last week the Bureau of Labor Statistics released its latest U.S. employment figures. On one…

5 days ago