SlideShare a Scribd company logo
Hamdan Azhar
hamdan@prismoji.com
@hamdanazhar
// November 3, 2017
From data with ❤ //
An introduction to Emoji Data Science
🏭 📈📊%
Ă 
& 📈📊%
Industry data science -> Indie data science
Introduction to Emoji Data Science (Open Data Science Conference, 2017)
Introduction to Emoji Data Science (Open Data Science Conference, 2017)
Introduction to Emoji Data Science (Open Data Science Conference, 2017)
Introduction to Emoji Data Science (Open Data Science Conference, 2017)
Introduction to Emoji Data Science (Open Data Science Conference, 2017)
Introduction to Emoji Data Science (Open Data Science Conference, 2017)
While emojis might seem fun and
trivial, they are at their core vessels
for conveying human emotion.
Emojis are also data.
And data science can help us
understand them.
The birth of
Introduction to Emoji Data Science (Open Data Science Conference, 2017)
My reaction to this article,
in emoji
https://motherboard.vice.com/en_us/article/the-emojis-of-great-brexit
How do people use emojis to react to a major
political event in real time?
Getting the data
■ Use Twitter API to sample 100,000 tweets for five hashtags related to Britain’s
EU Referendum
§ Hashtags: #NotMyVote, #VoteRemain, #EURef, #Brexit, #VoteLeave
§ Data pulled for June 24, 2016 (the day after the referendum)
§ English language tweets only
§ After removing retweets, we’re left with 23,989 unique tweets, i.e. the “Brexit
dataset”
§ Of these, 1,505 tweets (6.3%) contain at least one emoji
Analyzing the data
§ Use regular expressions in R, along with Unicode emoji dictionaries, to
extract emojis from tweets
§ Compute emoji counts in the Brexit dataset
§ Compare with counts for all >10B emoji tweets on Twitter since 2013
(from emojitracker.com)
§ Extract hashtags from tweets and compute hashtag profiles for various
emojis
emoji emoji name brexit rank brexit count
brexit density
(per 1,000)
😂 face with tears of joy 1 285 11.9
flag of united kingdom 2 249 10.4
👍 thumbs up sign 3 75 3.1
👏 clapping hands sign 4 70 2.9
❤ heavy black heart 5 60 2.5
😭 loudly crying face 6 48 2.0
😔 pensive face 7 40 1.7
😩 weary face 8 38 1.6
😢 crying face 9 34 1.4
🙈 see-no-evil monkey 10 34 1.4
Brexit chatter includes a wide variety of emojis
Of every
1,000 tweets
in our
dataset, 11.9
of them
contain 😂
Introduction to Emoji Data Science (Open Data Science Conference, 2017)
Can we use hashtag data to understand what
these emojis mean?
Finding the “hashtag signature” of a given emoji
§ We know the distribution of
hashtags in our entire dataset
§ We can pick a given emoji and
compute the distribution of
hashtags for tweets that use that
emoji
§ By comparing these two
distributions, we can estimate
which hashtags an emoji is most
likely to be used with
15%
17%
20%
29%
19%
Introduction to Emoji Data Science (Open Data Science Conference, 2017)
https://motherboard.vice.com/en_us/article/a-data-scientists-emoji-guide-to-kanye-west-and-taylor-swift
Hearts vs. Snakes:
The emoji battle underyling the epic Taylor Swift – Kanye West feud
Source: Analysis of 100,000
public tweets mentioning
@taylorswift13 and
@kanyewest from
Aug. 1-4, 2016.
(PRISMOJI)
Taylor Swift is winning hearts (and minds)
Source: Analysis of 100,000
public tweets mentioning
@taylorswift13 and
@kanyewest from
Aug. 1-4, 2016.
(PRISMOJI)
equal
higher association with
@taylorswift13
higher association with
@kanyewest
Our common emoji language of #fanlove
Source: Analysis of 250,000
public tweets mentioning
@beyonce, @justinbieber,
@djkhaled, @drake, and
@rihanna from
Aug. 1-4, 2016.
(PRISMOJI)
Sometimes love hurts
Examples of in tweets involving #fanlove
Source: Analysis of 250,000
public tweets mentioning
@beyonce, @justinbieber,
@djkhaled, @drake, and
@rihanna from
Aug. 1-4, 2016.
(PRISMOJI)
Now let’s turn to something more serious
Emoji reactions to Election Night results
Source: Analysis of sampled
Election Night tweets,
from Nov. 9, 2016 12:00am –
3:30am EST.
(PRISMOJI)
More common in tweets mentioning TrumpMore common in tweets mentioning Clinton
https://prismoji.com/2016/11/26/the-top-emojis-of-election-day-2016/
Election Day emojis in tweets mentioning Hillary Clinton
More common AFTER midnightMore common BEFORE midnight
Source: Analysis of sampled
Election Day tweets from
Nov. 8, 2016 6:00am to
Nov. 9, 2016 3:30am.
(PRISMOJI)
Source: Analysis of sampled Election Day tweets from Nov. 8, 2016. (PRISMOJI)
The divided emoji states of America
Source: Analysis of sampled Election Night tweets, from Nov. 9, 2016 12:00am – 3:30am EST. Word clouds shown for tweets mentioning Hillary Clinton
or Donald Trump as well as the given emoji above. Randomly selected tweet shown for each emoji.
http://www.huffingtonpost.com/entry/raised-fist-emoji-resistance_us_5899e39fe4b09bd304bd8ac9
Introduction to Emoji Data Science (Open Data Science Conference, 2017)
Emojis of the resistance
#NoBanNoWall
#TheResistance
#NotMyPresident
#WomensMarch
Source: Analysis of
sampled English-
language tweets
from Jan. 28-29,
2017 (Emojipedia)
The media doesn’t always appreciate emojis
36
37
38
Latest work
The Top Emojis of #MeToo
Source: Analysis of 28,629 English-language tweets sampled on Oct. 16, 2017 using
the Twitter Search API. Top 10 emojis shown in descending order of frequency.
The Top Emojis of #MeToo
Source: Analysis of 28,629 English-language tweets sampled on Oct. 16, 2017 using
the Twitter Search API. Top 20 emojis shown, grouped by emoji type, in descending
order of frequency.
❤💔💜💕💖💙💛💗
😔😢😡😍😞😕😥
👇✊💪🙏👏
The Top Emojis of #MeToo: Skin Tone Distributions
Source: Analysis of 28,629 English-language tweets sampled on Oct. 16, 2017 using the Twitter Search API.
Color 1 Color 2 Color 3 Color 4 Color 5
Mean
Skin Tone
✊ 9% 37% 29% 14% 11% 2.8
👇 29% 29% 18% 12% 12% 2.5
🙏 20% 50% 15% 15% 0% 2.2
💪 38% 28% 25% 9% 0% 2.0
👊 50% 25% 25% 0% 0% 1.8
🖕 50% 36% 14% 0% 0% 1.6
For emojis that are
most frequently used
with skin tone
modifiers, we look at
the distribution of skin
tone usage for each
emoji. The yellow
band indicates the
”mean skin tone” for a
given emoji.
While emojis might seem fun and
trivial, they are at their core vessels
for conveying human emotion.
Emojis are also data.
And data science can help us
understand them.
You too can become an emoji data scientist!
https://prismoji.com/2017/02/06/emoji-data-science-in-r-tutorial/
Mailchimp emoji analysis
https://blog.mailchimp.com/mailchimps-most-popular-subject-line-emojis/
Spotify emoji analysis
https://insights.spotify.com/us/2017/05/02/spotify-emoji-music/
Next steps
■ Journalism vs. Academic & Industry
■ Study emoji usage across countries & cultures
■ Study private emoji usage vs. public emoji usage
■ Using this as a kick-off point to dive head-in into data
journalism and storytelling about unexplored questions in
society and culture
Thank you!
Send me questions and tips! Or reach out if you’d like to
collaborate J
On Twitter: @hamdanazhar
Or by email: hamdan@prismoji.com
Check out more emoji data science at prismoji.com

More Related Content

PDF
Emoji Data Science & Sentiment Analysis (Newsgeist, 2017)
PPTX
Introduction to emoji data science (csv,conf,v3, 2017)
PPTX
Introduction to emoji data science (Emojicon, 2016)
PDF
Final impoliteness GlideShah
PDF
Detection of Spam Tipping Behaviour on Foursquare
PDF
Donald Trump vs Hillary Clinton: a Comparison in Social Media Branding
PPT
From stream to structure: Topic Analysis of US Presidential tweets
PPT
An attack by the media? Or: Bias?
Emoji Data Science & Sentiment Analysis (Newsgeist, 2017)
Introduction to emoji data science (csv,conf,v3, 2017)
Introduction to emoji data science (Emojicon, 2016)
Final impoliteness GlideShah
Detection of Spam Tipping Behaviour on Foursquare
Donald Trump vs Hillary Clinton: a Comparison in Social Media Branding
From stream to structure: Topic Analysis of US Presidential tweets
An attack by the media? Or: Bias?

Similar to Introduction to Emoji Data Science (Open Data Science Conference, 2017) (18)

PPTX
A Semantics-Based Measure of Emoji Similarity
PDF
Twitter Sentiment and Network Analysis
PDF
Baidu facemoji-07-11-2019-eoy-report-ii
PPTX
Gretchen McCulloch and Emojis as an Internet Language Gone Mainstream
 
PDF
Extraction of Emoticons with Sentimental Bar
PDF
Twitter Based Sentiment Analysis of Each Presidential Candidate Using Long Sh...
PDF
Noa Ha'aman - 2017 - MojiSem: Varying Linguistic Purposes of Emoji in (Twitte...
PDF
Adobe Future of Creativity 2022 U.S. Emoji Trend Report.pdf
PPTX
Emojis & Emoticons Around The World
PPTX
Improving Emoji Understanding Tasks using EmojiNet – A Mini-Tutorial
PDF
Data Analytics on Twitter Feeds
PDF
Apple Responds To Emoji Diversity Problem
PDF
Smile, Wink and Pray: Can Emojis Increase your Email Open Rate? (New Research)
PDF
State of Emoji Report 2022
PDF
State of Emoji Report 2022
PDF
2016 Presidential Candidate Tracker
PDF
The Unicode Standard
PDF
TCS: Trend Based Marketing - Tomorrow's Campaigns Today
A Semantics-Based Measure of Emoji Similarity
Twitter Sentiment and Network Analysis
Baidu facemoji-07-11-2019-eoy-report-ii
Gretchen McCulloch and Emojis as an Internet Language Gone Mainstream
 
Extraction of Emoticons with Sentimental Bar
Twitter Based Sentiment Analysis of Each Presidential Candidate Using Long Sh...
Noa Ha'aman - 2017 - MojiSem: Varying Linguistic Purposes of Emoji in (Twitte...
Adobe Future of Creativity 2022 U.S. Emoji Trend Report.pdf
Emojis & Emoticons Around The World
Improving Emoji Understanding Tasks using EmojiNet – A Mini-Tutorial
Data Analytics on Twitter Feeds
Apple Responds To Emoji Diversity Problem
Smile, Wink and Pray: Can Emojis Increase your Email Open Rate? (New Research)
State of Emoji Report 2022
State of Emoji Report 2022
2016 Presidential Candidate Tracker
The Unicode Standard
TCS: Trend Based Marketing - Tomorrow's Campaigns Today
Ad

Recently uploaded (20)

PDF
A comparative analysis of optical character recognition models for extracting...
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PPTX
A Presentation on Touch Screen Technology
PDF
Assigned Numbers - 2025 - BluetoothÂŽ Document
PDF
Enhancing emotion recognition model for a student engagement use case through...
PDF
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
 
PPTX
A Presentation on Artificial Intelligence
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Approach and Philosophy of On baking technology
PPTX
TLE Review Electricity (Electricity).pptx
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Encapsulation theory and applications.pdf
PDF
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Zenith AI: Advanced Artificial Intelligence
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Hybrid model detection and classification of lung cancer
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
A comparative analysis of optical character recognition models for extracting...
MIND Revenue Release Quarter 2 2025 Press Release
A Presentation on Touch Screen Technology
Assigned Numbers - 2025 - BluetoothÂŽ Document
Enhancing emotion recognition model for a student engagement use case through...
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
 
A Presentation on Artificial Intelligence
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
Programs and apps: productivity, graphics, security and other tools
Approach and Philosophy of On baking technology
TLE Review Electricity (Electricity).pptx
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Building Integrated photovoltaic BIPV_UPV.pdf
Encapsulation theory and applications.pdf
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Zenith AI: Advanced Artificial Intelligence
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Hybrid model detection and classification of lung cancer
Digital-Transformation-Roadmap-for-Companies.pptx
Ad

Introduction to Emoji Data Science (Open Data Science Conference, 2017)

  • 1. Hamdan Azhar hamdan@prismoji.com @hamdanazhar // November 3, 2017 From data with ❤ // An introduction to Emoji Data Science
  • 9. While emojis might seem fun and trivial, they are at their core vessels for conveying human emotion. Emojis are also data. And data science can help us understand them.
  • 12. My reaction to this article, in emoji
  • 14. How do people use emojis to react to a major political event in real time?
  • 15. Getting the data ■ Use Twitter API to sample 100,000 tweets for five hashtags related to Britain’s EU Referendum § Hashtags: #NotMyVote, #VoteRemain, #EURef, #Brexit, #VoteLeave § Data pulled for June 24, 2016 (the day after the referendum) § English language tweets only § After removing retweets, we’re left with 23,989 unique tweets, i.e. the “Brexit dataset” § Of these, 1,505 tweets (6.3%) contain at least one emoji
  • 16. Analyzing the data § Use regular expressions in R, along with Unicode emoji dictionaries, to extract emojis from tweets § Compute emoji counts in the Brexit dataset § Compare with counts for all >10B emoji tweets on Twitter since 2013 (from emojitracker.com) § Extract hashtags from tweets and compute hashtag profiles for various emojis
  • 17. emoji emoji name brexit rank brexit count brexit density (per 1,000) 😂 face with tears of joy 1 285 11.9 flag of united kingdom 2 249 10.4 👍 thumbs up sign 3 75 3.1 👏 clapping hands sign 4 70 2.9 ❤ heavy black heart 5 60 2.5 😭 loudly crying face 6 48 2.0 😔 pensive face 7 40 1.7 😩 weary face 8 38 1.6 😢 crying face 9 34 1.4 🙈 see-no-evil monkey 10 34 1.4 Brexit chatter includes a wide variety of emojis Of every 1,000 tweets in our dataset, 11.9 of them contain 😂
  • 19. Can we use hashtag data to understand what these emojis mean?
  • 20. Finding the “hashtag signature” of a given emoji § We know the distribution of hashtags in our entire dataset § We can pick a given emoji and compute the distribution of hashtags for tweets that use that emoji § By comparing these two distributions, we can estimate which hashtags an emoji is most likely to be used with 15% 17% 20% 29% 19%
  • 23. Hearts vs. Snakes: The emoji battle underyling the epic Taylor Swift – Kanye West feud Source: Analysis of 100,000 public tweets mentioning @taylorswift13 and @kanyewest from Aug. 1-4, 2016. (PRISMOJI)
  • 24. Taylor Swift is winning hearts (and minds) Source: Analysis of 100,000 public tweets mentioning @taylorswift13 and @kanyewest from Aug. 1-4, 2016. (PRISMOJI) equal higher association with @taylorswift13 higher association with @kanyewest
  • 25. Our common emoji language of #fanlove Source: Analysis of 250,000 public tweets mentioning @beyonce, @justinbieber, @djkhaled, @drake, and @rihanna from Aug. 1-4, 2016. (PRISMOJI)
  • 26. Sometimes love hurts Examples of in tweets involving #fanlove Source: Analysis of 250,000 public tweets mentioning @beyonce, @justinbieber, @djkhaled, @drake, and @rihanna from Aug. 1-4, 2016. (PRISMOJI)
  • 27. Now let’s turn to something more serious
  • 28. Emoji reactions to Election Night results Source: Analysis of sampled Election Night tweets, from Nov. 9, 2016 12:00am – 3:30am EST. (PRISMOJI) More common in tweets mentioning TrumpMore common in tweets mentioning Clinton https://prismoji.com/2016/11/26/the-top-emojis-of-election-day-2016/
  • 29. Election Day emojis in tweets mentioning Hillary Clinton More common AFTER midnightMore common BEFORE midnight Source: Analysis of sampled Election Day tweets from Nov. 8, 2016 6:00am to Nov. 9, 2016 3:30am. (PRISMOJI)
  • 30. Source: Analysis of sampled Election Day tweets from Nov. 8, 2016. (PRISMOJI)
  • 31. The divided emoji states of America Source: Analysis of sampled Election Night tweets, from Nov. 9, 2016 12:00am – 3:30am EST. Word clouds shown for tweets mentioning Hillary Clinton or Donald Trump as well as the given emoji above. Randomly selected tweet shown for each emoji.
  • 34. Emojis of the resistance #NoBanNoWall #TheResistance #NotMyPresident #WomensMarch Source: Analysis of sampled English- language tweets from Jan. 28-29, 2017 (Emojipedia)
  • 35. The media doesn’t always appreciate emojis
  • 36. 36
  • 37. 37
  • 38. 38
  • 40. The Top Emojis of #MeToo Source: Analysis of 28,629 English-language tweets sampled on Oct. 16, 2017 using the Twitter Search API. Top 10 emojis shown in descending order of frequency.
  • 41. The Top Emojis of #MeToo Source: Analysis of 28,629 English-language tweets sampled on Oct. 16, 2017 using the Twitter Search API. Top 20 emojis shown, grouped by emoji type, in descending order of frequency. ❤💔💜💕💖💙💛💗 😔😢😡😍😞😕😥 👇✊💪🙏👏
  • 42. The Top Emojis of #MeToo: Skin Tone Distributions Source: Analysis of 28,629 English-language tweets sampled on Oct. 16, 2017 using the Twitter Search API. Color 1 Color 2 Color 3 Color 4 Color 5 Mean Skin Tone ✊ 9% 37% 29% 14% 11% 2.8 👇 29% 29% 18% 12% 12% 2.5 🙏 20% 50% 15% 15% 0% 2.2 💪 38% 28% 25% 9% 0% 2.0 👊 50% 25% 25% 0% 0% 1.8 🖕 50% 36% 14% 0% 0% 1.6 For emojis that are most frequently used with skin tone modifiers, we look at the distribution of skin tone usage for each emoji. The yellow band indicates the ”mean skin tone” for a given emoji.
  • 43. While emojis might seem fun and trivial, they are at their core vessels for conveying human emotion. Emojis are also data. And data science can help us understand them.
  • 44. You too can become an emoji data scientist! https://prismoji.com/2017/02/06/emoji-data-science-in-r-tutorial/
  • 47. Next steps ■ Journalism vs. Academic & Industry ■ Study emoji usage across countries & cultures ■ Study private emoji usage vs. public emoji usage ■ Using this as a kick-off point to dive head-in into data journalism and storytelling about unexplored questions in society and culture
  • 48. Thank you! Send me questions and tips! Or reach out if you’d like to collaborate J On Twitter: @hamdanazhar Or by email: hamdan@prismoji.com Check out more emoji data science at prismoji.com