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

10 Independent Writers Leading the Design Conversation in 2025

While major design houses and celebrities often steal the spotlight, it’s the independent voices behind…

3 days ago

Building trust across clouds: Expert insight on how AI cloud-native MFT platforms are empowering businesses (Brains Byte Back Podcast)

For modern, data-driven organizations, managing data effectively is an ongoing challenge.  (more…)

4 days ago

Securing the future of healthy code: “Make it simple, scalable & a no-brainer for teams of all sizes”

A dream is often born when things get tough and tedious. While DevSecOps is a…

4 days ago

G20 South Africa commits to advancing digital public infrastructure globally

DPI involves giving everybody electricity & internet, making them sign up for digital ID, and…

5 days ago

Nisum, Applied AI Consulting partner-up to turn the promise of AI into tangible results

Across industries, AI has been promised as the magic bullet, poised to solve different business…

6 days ago

WEF blog calls for an ‘International Cybercrime Coordination Authority’ to impose collective penalties on uncooperative nations

How long until online misinformation and disinformation are considered cybercrimes? perspective The World Economic Forum…

6 days ago