You may not be sure how Lord Varys collects information from his little birds, but in this talk you will hear how we can collect information from our little birds.
@kristw shares a behind-the-scenes view of his latest data visualization project, which shows how each #GameOfThrones episode was discussed on Twitter. Using data visualization, we can extract and reveal the stories of every episode from fans’ Tweets.
https://interactive.twitter.com/game-of-thrones
These slides are from a talk given at Bay Area d3 User Group meetup on June 9, 2016.
http://www.meetup.com/Bay-Area-d3-User-Group/events/231281298
2. Computer Engineer
Bangkok, Thailand
PhD in Computer Science
Information Visualization
Univ. of Maryland
IBM
Microsoft
Data Visualization Scientist
Twitter
Krist Wongsuphasawat / @kristw
14. On another continent,
there is a princess who was supposed to be
rightful heir to the throne.
The dead king mentioned earlier,
overthrew her father
and killed her entire family.
She escaped.
Now she is finding her way back
and she has dragons.
15. While humans are busy killing each other,
ice zombies “White walkers” are invading from the North.
The only group who seems to care about this
is neutral group called the Night’s Watch.
16. HBO’s Game of Thrones
Based on a book series “A Song of Ice and Fire”
Medieval Fantasy. Knights, magic and dragons.
Many characters.
Anybody can die.
6 seasons (57 episodes) so far
Multiple storylines in each episode
25. Sample data
Character Count
Hodor 10000
Jon Snow 5000
Daenerys 4000
Bran Stark 3000
… …
*These numbers are made up for presentation, not real data.
26. When you play the game of vis,
you iterate or you die.
CHAPTER III
28. + episodes
The Guardian & Google Trends
http://www.theguardian.com/news/datablog/ng-interactive/2016/apr/22/game-of-thrones-the-most-googled-characters-episode-by-episode
34. Sample data
Character Count
Jon Snow+Sansa 1000
Tormund+Brienne 500
Bran Stark+Hodor 300
… …
Character Count
Hodor 10000
Jon Snow 5000
Daenerys 4000
… …
INDIVIDUALS CONNECTIONS
+ top emojis + top emojis
*These numbers are made up for presentation, not real data.
35. Graph
NODES LINKS
+ top emojis + top emojis
Character Count
Jon Snow+Sansa 1000
Tormund+Brienne 500
Bran Stark+Hodor 300
… …
Character Count
Hodor 1000
Jon Snow 500
Daenerys 400
… …
*These numbers are made up for presentation, not real data.
54. Must work for every episode
Too many nodes & edges
nodes = nodes.filter(n => n.count > 100)
links = links.filter(l => l.count > 100)
Is 100 a good number for every episode?
61. A$er switching episode
1. Store old positions for existing objects.
2. Assign new initial positions.*
3. Run simulation without updating <svg> for n rounds
4. Animate objects from old to new positions.
5. Resume simulation and update <svg> every tick.
68. Colors
Default: d3.category10()
Distinct but nothing about the context
Custom palette
Colors related to the groups/houses.
Black = Night’s Watch
Blue = North
Red = Daenerys
Gold = Lannister
…
90. Summary
Problem first, not solution backwards
Prototype, Iterate, Scale & Adapt
Identify characters from Tweets + Network visualization
Vis is important, but there are other parts.
Feedback
Understand the pros & cons
Rooms for improvement
kristw.yellowpigz.com
Krist Wongsuphasawat / @kristw
91. Robert Harris, Miguel Rios, Elaine Filadelfo
and many colleagues at Twitter;
Elijah Meeks for his network vis tutorial;
Mike Bostock for D3 and examples
Lastly, to my wife for taking care of our baby, so I had time to prepare these slides.
Acknowledgement
92. Resources
Quora: How would you explain the plot of Game of Thrones in Brief from the beginning?
https://www.quora.com/How-would-you-explain-the-plot-of-Game-of-Thrones-in-brief-from-the-beginning
Convex Hull
https://en.wikipedia.org/wiki/Convex_hull
Images
Aemon - http://tinyurl.com/zqdzc2a
Cersei - http://tinyurl.com/gumcs7g
Crow - http://tinyurl.com/ju6up5g
Eddard - http://tinyurl.com/jc23mel
Feast - http://tinyurl.com/zcms4lq
Hammer - http://tinyurl.com/hz8emrp
Hodor - http://tinyurl.com/j748jfr
House sigils - http://tinyurl.com/jywgcjx
House Stark - http://tinyurl.com/jtdtrdy
Jon Snow - http://tinyurl.com/h4hofe8
Tyrion - http://tinyurl.com/z7z2uow
Tyrion - http://tinyurl.com/hvw4u89
Tyrion - http://tinyurl.com/jkrvqtb
Watercolor Map by Stamen Design