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

With surge in AI-generated code creates security concerns, DeepSources launches trio of autonomous AI agents for DevSecOps 

Autonomous, AI-powered employees are set to begin roaming corporate networks sooner than expected, marking the…

3 days ago

As carcinogenic chemicals from cleaning products hit the headlines, Viking Pure Solutions is protecting employees from harm

Despite the ongoing fight to reduce, reuse and recycle plastics, when it comes to environmental…

3 days ago

Muddy Waters vs. AppLovin: Why Investors Might Be the Real Target

Muddy Waters’ recent short report on AppLovin reads serious. Abuse, violations, an impending takedown. But…

3 days ago

Trump’s Tariff Policy: An Apparent Double Standard for Apple?

Do you know how I knew that Trump would be the 47th President of the…

3 days ago

These travel bloggers have the best tips on how to make the most of your trip to the UK

From Stonehenge to the Tower of London, Buckingham Palace to the Angel of North, there’s…

5 days ago

The science of what we eat: The NYU math grad bringing sustainable olive oil to your kitchen (Brains Byte Back Podcast)

When it comes to what we eat, more of us are asking the right questions:…

6 days ago