Cookies help us display personalized product recommendations and ensure you have great shopping experience.

By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
SmartData CollectiveSmartData Collective
  • Analytics
    AnalyticsShow More
    How Does Data Mining Boost Customer Satisfaction in Logistics? Harnessing Analytics for Results -- AI-generated illustration
    How Does Data Mining Boost Customer Satisfaction in Logistics? Harnessing Analytics for Results
    11 Min Read
    chatgpt image jul 13, 2026, 04 23 45 pm
    How Data Analytics Helps Companies Improve User Engagement
    19 Min Read
    chatgpt image jul 13, 2026, 03 59 46 pm
    How Data Analytics Improves Multi-Location Search Strategies
    10 Min Read
    cybersecurity efforts
    How Behavioral Analytics and AI Are Redefining Cybersecurity for Boca Raton Businesses
    14 Min Read
    data driven risk management in heatlhcare
    How Data Analytics Is Changing Healthcare Risk Management
    17 Min Read
  • Big Data
  • BI
  • Exclusive
  • IT
  • Marketing
  • Software
Search
© 2008-25 SmartData Collective. All Rights Reserved.
Reading: Political Revolutions on Twitter, Visualized with R
Share
Notification
Font ResizerAa
SmartData CollectiveSmartData Collective
Font ResizerAa
Search
  • About
  • Help
  • Privacy
Follow US
© 2008-23 SmartData Collective. All Rights Reserved.
SmartData Collective > Big Data > Data Visualization > Political Revolutions on Twitter, Visualized with R
Data VisualizationR Programming Language

Political Revolutions on Twitter, Visualized with R

DavidMSmith
DavidMSmith
3 Min Read
SHARE

Twitter has become a powerful medium for organizing and communicating with factions during popular uprisings: the crisis in Egypt, the uprising in Syria, the revolution in Iran, and other conflicts all around the world.

Twitter has become a powerful medium for organizing and communicating with factions during popular uprisings: the crisis in Egypt, the uprising in Syria, the revolution in Iran, and other conflicts all around the world. Twitter’s effectiveness relies on its ability for the various factions to self-organize and to fight the information battle in social media.

Esteban Moro Egido, a mathematics professor at Universidad Carlos III in Madrid, puts this battle into stark relief with a video depicting Twitter activity around Spain’s general strike in March this year. Esteban has used the R language for years to understand complex networks with applications in areas such as telecommunications and social media, and has put those skills to great use analyzing all of the tweets, retweets and mentions related to the strike. Here’s the video:

 

More Read

Image
SDC @ Strata – Impressions from the floor
Can Fossil Analysis Software Help Us Plan Curriculum?
BI Dashboard for the Super Bowl
10th Annual ECCMA Conference (ISO 8000 Data Quality Conference)
How to Program MapReduce Jobs in Hadoop with R

Each point in the animation represents a twitter user, each colour-coded according to their faction in the debate (pro-strike, anti-strike, or somewhere in between). He used community-finiding algorithms to automatically assign Twitter users to factions, and Esteban described the factions in an email:

The communities where identified using one of the community-finding algorithms in R. Specifically the walk trap algorithm run over the static graph of (weighted) RT graph between twitter accounts. So each Twitter account is assigned to a particular community right from the beginning. 

What we did afterwards was to check what these communities were talking about (tweets and RTs). We found that the tweets and RTs in the orange community were in favor of the general strike and the reasons behind it, while the tweets and RTs in the dark blue community were against the unions and the reasons behind the general strike. It is interesting to see that the communities found in the structural analysis of the RT graph also correspond to opinion communities, the reason being that there are not many RTs between groups which have such different opinions.  

There are other two communities in the video (light blue and green) which correspond to news media and, a bot network automatically tweeting about the general strike.

The animation itself was created entirely with R using the igraph package, and encoded to video using ffmpeg. You can create similar videos yourself for other dynamic political discussions on Twitter: Esteban has kindly provided a tutorial on how to create such animations, with R code. 

Implicit None: Temporal network of information diffusion in Twitter

 
Share This Article
Facebook Pinterest LinkedIn
Share

Follow us on Facebook

Latest News

11 Best AI Tools for Critical Thinking in Research -- AI-generated illustration
11 Best AI Tools for Critical Thinking in Research
Artificial Intelligence Exclusive
Top 7 GTM Intelligence Tools with MCP Integration in 2026 -- AI-generated illustration
Top 7 GTM Intelligence Tools with MCP Integration in 2026
Artificial Intelligence Exclusive News
What Is Fine Tuning AI Models And When Should You Actually Do It? -- AI-generated illustration
What Is Fine Tuning AI Models And When Should You Actually Do It?
Artificial Intelligence Exclusive
Industrial IoT (IIoT) Implementation: A Step-by-Step Guide for Manufacturers -- AI-generated illustration
Industrial IoT (IIoT) Implementation: A Step-by-Step Guide for Manufacturers
Exclusive

Stay Connected

1.2KFollowersLike
33.7KFollowersFollow
222FollowersPin

You Might also Like

Defining Business Intelligence 3.0

12 Min Read

Yes, you need more than just R for Big Data Analytics.

4 Min Read
scrabble
AnalyticsR Programming LanguageStatistics

The Luck and Skill of Scrabble

9 Min Read

10 Technology Trends that will Define Enterprise Architecture in the 2010s

3 Min Read

SmartData Collective is one of the largest & trusted community covering technical content about Big Data, BI, Cloud, Analytics, Artificial Intelligence, IoT & more.

ai is improving the safety of cars
From Bolts to Bots: How AI Is Fortifying the Automotive Industry
Artificial Intelligence
AI and chatbots
Chatbots and SEO: How Can Chatbots Improve Your SEO Ranking?
Artificial Intelligence Chatbots Exclusive

Quick Link

  • About
  • Contact
  • Privacy
Follow US
© 2008-26 SmartData Collective. All Rights Reserved.
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?