jeffreylancaster/game-of-thrones
À propos
Game of Thrones Datasets and Visualizations
Jeux et émulationProgression mesurée des étoiles
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
OriginalGame of Thrones Datasets and Visualizations
About this Project
- View all visualizations at jeffreylancaster.github.io/game-of-thrones
Articles on Medium
- "The Ultimate Game of Thrones Dataset"
- "32 Game of Thrones Data Visualizations"
- "19 More Game of Thrones Data Visualizations"
- "Introducing Game of Thrones Script Search"
Data Visualization Episode Recaps
- "Winterfell" (Season 8, Episode 1)
- "A Knight of the Seven Kingdoms" (Season 8, Episode 2)
- "The Long Night" (Season 8, Episode 3)
- "The Last of the Starks" (Season 8, Episode 4)
Interfaces
Episode Viewer: episode/
- A compilation of episode-specific data visualizations, including aggregate character time on screen, wordcount, languages, locations, and more.
View the visualizations || Explore the code
Script Search: search/mongodb/
- A simple search interface to explore the words spoken on Game of Thrones, including who says each line and text and translations in Dothraki, Valyrian, etc.
Search the database || Explore the code
Visualizations
Narrative Charts
Narrative Chart: map/
- A visualization of when each character is on-screen throughout the show, where they are, with whom they are, when they die, and more.
View the visualization || Explore the codeprocess.html: BuildskeyValues.jsonfromepisodes.jsonby adding y-values and additional location-specific information and outputs the data forkeyValues.json.index.html: Builds the visualization using d3.js and outputs the Game of Thrones narrative chart.

Note: map contains spoilers.
Heatmap / Flattened Narrative Chart: heatmap/
- A visualization of how many characters are in locations throughout the show.
View the visualization || Explore the code- includes a
calcDataparameter that pre-processes the data fordata/heatmap.json.
- includes a

Inspired by Hubble Image of Galaxy Cluster Converted Into Sound.
Screen Time
Characters On Screen: scenes-character/
- A visualization of when each character is on screen throughout the entire show.
View the visualization || Explore the code

Locations On Screen: scenes-location/
- A visualization of when each location is shown on screen throughout the show.
View the visualization || Explore the code

More-Specific Locations On Screen: scenes-sublocation/
- A visualization of when each more-specific location is shown on screen throughout the show.
View the visualization || Explore the code

Special Scenes On Screen: scenes-special/
- A visualization of when special scenes (death, sex, flashback, warging, greensight, etc.) are shown on screen throughout the show.
View the visualization || Explore the code

Deaths On Screen: bubble-death/
- A visualization of when deaths happen throughout the show.
View the visualization || Explore the code

Weapons On Screen: scenes-weapons/
- A visualization of when weapons show up on screen throughout the show.
View the visualization || Explore the code

Houses On Screen: scenes-house/
- A visualization of when various Houses are represented throughout the show.
View the visualization || Explore the code

Number of Characters Per Scene: characters-per-scene/
- A visualization of how many characters are on-screen at one time.
View the visualization || Explore the code

Continuous Screen Time: bubble-character/
- A visualization where each bubble represents a character and the size of the bubble is continuous time on screen.
View the visualization || Explore the code

Circles are color-coded by House.
Cumulative Time
Supercut Duration: duration-character/
- A visualization of how long each character has been on-screen throughout the show.
View the visualization || Explore the code

Screen Time Per Season: duration-per-season/
- A visualization of how long each character has been on-screen in each season of the show.
View the visualization || Explore the code

Character On Screen Time Per Episode: episode-character/
- A visualization of how long each character has been on-screen in each episode throughout the show.
View the visualization || Explore the code

Based on Harry Stevens's Linear Regression for Scatter Plot.
Screen Time Per Location: duration-per-location/
- A visualization of how long has been spent in each location throughout the show.
View the visualization || Explore the code

Screen Time Per More-Specific Location: duration-per-sublocation/
- A visualization of how long has been spent in each more-specific location throughout the show.
View the visualization || Explore the code

Character Time Percentage Per Season: duration-percent/
- A visualization of how much of a character's time on screen is spent in each season.
View the visualization || Explore the code

Overall Character Time (Treemap): duration-treemap/
- A visualization of how long each character has been on screen throughout the show in proportion to all other characters.
View the visualization || Explore the code

Based on takayuki's Treemap in d3 v4.
Screen Time Per House: duration-house/
- A visualization of how long each House has been on screen throughout the show.
View the visualization || Explore the code

Travelling Characters: region-percent/
- A visualization of the various locations characters visit and how much of their time they spend there.
View the visualization || Explore the code

Screen Time in Locations Per Episode: location-per-episode/
- A visualization of how long is spent in each location during each episode.
View the visualization || Explore the code

Screen Time Per Gender By Season: duration-gender-season/
- A visualization of how much time women and men are on screen during each season.
View the visualization || Explore the code

Based on wpoely86's Diverging Stacked Bar Chart.
Screen Time Per Gender By Episode: duration-gender-episode/
- A visualization of how much time women and men are on screen during each episode.
View the visualization || Explore the code

Based on wpoely86's Diverging Stacked Bar Chart.
Screen Time Per Gender By Episode (Percent): duration-gender-percent/
- A visualization of how much time women and men are on screen during each episode as percentages of the episode length.
View the visualization || Explore the code

Based on wpoely86's Diverging Stacked Bar Chart.
Wordcount & Language
Character Wordcount: wordcount-character/
- A visualization of how many words each character says throughout the show.
View the visualization || Explore the code

Character Wordcount By Season: wordcount-per-season/
- A visualization of how many words each character says during each season.
View the visualization || Explore the code

Wordcount Per House: wordcount-house/
- A visualization of how many words members of each House say throughout the show.
View the visualization || Explore the code

Wordcount Per Gender By Season: wordcount-gender-season/
- A visualization of how many words women and men say during each season.
View the visualization || Explore the code

Based on wpoely86's Diverging Stacked Bar Chart.
Wordcount Per Gender By Episode: wordcount-gender-episode/
- A visualization of how many words women and men say during each episode.
View the visualization || Explore the code

Based on wpoely86's Diverging Stacked Bar Chart.
Wordcount Per Gender By Episode (Percent): wordcount-gender-percent/
- A visualization of how many words women and men say during each episode as a percentage of the total words spoken per episode.
View the visualization || Explore the code

Based on wpoely86's Diverging Stacked Bar Chart.
Languages Spoken Per Character: language-character/
- A visualization of the languages spoken by characters throughout the show.
View the visualization || Explore the code

Languages Spoken Per Episode: language-episode
- A visualization of the languages spoken by characters throughout each episode.
View the visualization || Explore the code

Co-Occurrence
Character Co-Occurrence Matrix: matrix/
- A matrix visualization of how often characters are on screen together.
View the visualization || Explore the code

Force-Directed On-Screen Co-Occurrence: force-directed/
- A force-directed visualization of characters on-screen together throughout the show.
View the visualization || Explore the code

Based on heybignick's d3 v4 force-directed graph.
Chord Diagram of On-Screen Co-Occurrence: matrix-chord/
- A chord diagram visualization where chord width represents time spent on-screen together by the conected characters.
View the visualization || Explore the code

Based on HenryLau's chord diagram on JSFiddle.
Relationships
Force-Directed Relationships: relations-force/
- A force-directed visualization of various relationships between characters (e.g. parents, spouses, who killed whom).
View the visualization || Explore the code

Parent-child (solid gray), spouse (dashed blue), and killed by (solid black arrow) relationships shown. Based on Mike Bostock's Labeled Force Layout.
Circle-based Relationships: relations-circle/
- A circle-based visualization of various relationships between characters (e.g. parents, spouses, who killed whom).
View the visualization || Explore the code

Parent-child (solid gray), spouse (dashed blue), and killed by (solid black arrow) relationships shown. Based on an HBO infographic.
Force-Directed Sexual Relationships: relations-force-sex/
- A force-directed visualization of sexual relationships between characters.
View the visualization || Explore the code

Based on a Cool Material infographic.
Actor Relationships
Costars List: costars-list/
- A list of other films in which Game of Thrones costars, well, costar.
View the list || Explore the code

Data last pulled following Season 7.
Costars Matrix: costars-matrix/
- A matrix visualization of frequency of other films in which Game of Thrones costars, well, costar.
View the visualization || Explore the code

Data last pulled following Season 7. Based on Mike Bostock's Les Misérables Co-occurrence.
Lands of Ice and Fire Geography
Force-Directed Network of Opening Sequence Locations: opening-locations-force/
- A force-directed network visualization of the Game of Thrones opening sequence locations.
View the visualization || Explore the code

Based on heybignick's d3 v4 force-directed graph.
Geographic Network of Opening Sequence Locations: opening-locations-fixed/
- A geographic network visualization of the Game of Thrones opening sequence locations.
View the visualization || Explore the code

Based on the A Song of Ice and Fire Wiki geography.
Locations on a Globe: geography-locations/
- Various Game of Thrones locations displayed on a globe.
View the visualization || Explore the code

Adapted from Jason Davies' "Rotate the World".
Opening Sequence Locations: opening-seq-arcs/
- A geographic visualization of the Game of Thrones opening sequence locations on a globe.
View the visualization || Explore the code

Adapted from Andrew Mollica's "World Tour along Flying Arcs".
Opening Sequence Locations (with Underlying Matrix): opening-seq-matrix/
- A geographic visualization of the Game of Thrones opening sequence locations on a globe with an underlying matrix showing the frequency of opening sequence paths between locations.
View the visualization || Explore the code

Adapted from Andrew Mollica's "World Tour along Flying Arcs".
Character Travel Paths: character-arcs/
- A geographic visualization of the paths characters have travelled in the Lands of Ice and Fire.
View the visualization || Explore the code

Adapted from Andrew Mollica's "World Tour along Flying Arcs".
Prediction
Simple Cluster Analysis (for Prediction?): episode-character-scatter/
- A simple cluster analysis plotting the slope and y-intercept of the linear regression of time spent on-screen in each episode. We'll see whether it's predictive at all.
View the visualization || Explore the code

Adapted from Harry Stevens's Linear Regression for Scatter Plot.
Other People's
- Timelapse animation from Type A Media
- Viz of Thrones: a single interface by Adam Groner, including a geographic map with characters in locations, sex count, death count, scenes in which characters show up, and more
- GraphXR demo from Kineviz
- Character travels through various regions by Lia Petronio
- Character Social Network by Lia Petronio
Data
data/episodes.json
{
"episodes": [
{
"seasonNum": integer,
"episodeNum": integer,
"episodeTitle": "string", // from imdb
"episodeLink": "string", // endpoint: www.imdb.com
"episodeAirDate": "string", // from imdb
"episodeDescription": "string", // from imdb
"openingSequenceLocations": [
"string",
...
],
"scenes":[
{
"sceneStart": "string",
"sceneEnd": "string",
"location": "string",
"subLocation": "string",
"altLocation": "string",
"flashback": Boolean,
"greensight": Boolean,
"warg": Boolean,
"characters": [
{
"name": "string",
"title": "Hand | Khal | Khaleesi | King",
"alive": Boolean,
"born": Boolean,
"weapon": [
{
"action": "string",
"name": "string"
}
],
"sex": {
"with": [
"string"
],
"when": "string",
"type": "string"
},
"married": {
"to": "string",
"when": "string",
"type": "string",
"consummated": Boolean
},
"mannerOfDeath": "string",
"killedBy": [
"string"
]
},
...
]
},
...
]
},
...
]
}
data/characters.json
{
"characters":[
{
"characterName": "string",
"characterLink": "string", // endpoint: www.imdb.com
"characterImageThumb": "string",
"characterImageFull": "string",
"actorName": "string", // OR actors: []
"actors": [
{
"actorName":"Richard Dormer",
"actorLink":"/name/nm0233807/",
"seasonsActive":[
integer,
...
]
},
...
],
"actorLink": "string", // endpoint: www.imdb.com
"houseName": [
"string", // just string if single value
...
],
"nickname": "string",
"royal": Boolean,
"kingsguard": Boolean,
"parents": [
"string",
...
],
"parentOf": [
"string",
...
],
"guardianOf": [
"string",
...
],
"guardedBy": [
"string",
...
],
"siblings": [
"string",
...
],
"marriedEngaged": [
"string",
...
],
"allies":[
"string",
...
],
"abducted":[
"string",
...
],
"killed": [
"string",
...
],
"killedBy": [
"string",
...
],
"serves": [
"string",
...
]
"servedBy": [
"string",
...
]
},
...
]
}
data/characters-groups.json
{
"group": [
{
"name": "string",
"characters": [
"string",
...
]
},
...
]
}
data/characters-include.json
{
"include":[
{
"name": "string",
"include": Boolean
},
...
]
}
data/locations.json
{
"regions":[
{
"location": "string",
"subLocation": [
"string",
...
]
},
...
]
}
data/characters-gender-all.json
{
"male": [
"string",
...
],
"female": [
"string",
...
]
}
data/characters-gender.json
{
"gender": [
{
"gender":"male",
"characters": [
"string",
...
]
},
{
"gender":"female",
"characters": [
"string",
...
]
}
]
}
data/colors.json
{
"colors": [
{
"name": "string",
"hexadecimal": "string",
"webSafe": "string",
"basic": "string",
"rgb": "string",
"class": [
"string"
],
"css": {
"stroke-width": "string",
"stroke-dasharray": "string",
"stroke-linecap": "string"
}
},
...
]
}
data/costars.json
{
"IMDB_ID": {
"imdb_id": "string",
"title": "string",
"year": "string",
"actors": [
{
"personID": "string",
"actorName": "string",
"characterName": "string"
},
...
]
},
...
}
data/heatmap.json
A pre-processed file for the heatmap/ visualization:
[
{
"name": "string",
"count": [
{
"x1": integer,
"x2": integer,
"z": integer
},
...
]
},
...
]
data/keyValues.json
A pre-processed file for the map/ visualization:
{
"characters": {
"CharacterName": {
"key": "string",
"values": [
{
"s": integer,
"e": integer,
"y": integer
},
...
]
},
...
},
"episodes": [
{
"seasonNum": integer,
"length": integer,
"shift": integer,
"episodes":[
{
"episodeNum": integer,
"length": integer,
"episodeTitle": "string",
"shift": integer
},
...
]
},
...
],
"locations": [
{
"name": "string",
"max": integer,
"middle": integer
},
...
],
"sublocations": [
{
"name": "string",
"max": integer,
"middle": integer
},
...
]
}
data/lands-of-ice-and-fire.json
A GeoJSON file for geographic visualizations.
// It's better to just go look at the file if you're curious.
data/opening-locations.json
A data file for the opening-locations-fixed/ visualization:
{
"note": "string",
"locations": [
{
"name": "string",
"fx": float,
"fy": float
},
...
]
}
data/wordcount-gender.json
{
"male": [
"string",
...
],
"female": [
"string",
...
],
"crowd": [
"string",
...
]
}
data/wordcount-synonyms.json
A working file to rename characters in the script.
{
"synonyms": [
{
"accepted": "string",
"alt": [
"string",
...
]
},
...
],
"groups": [
"string",
...
],
"others": [
"string",
...
]
}
data/wordcount.json
{
"count": [
{
"episodeAlt": "string",
"seasonNum": integer,
"episodeNum": integer,
"episodeTitle": "string",
"text": [
{
"name": "string",
"count": integer,
"lang": "string", // optional
"type": "string" // optional
},
...
]
},
...
]
}
data/script-bag-of-words.json
{
"count": [
{
"episodeAlt": "string",
"seasonNum": integer,
"episodeNum": integer,
"episodeTitle": "string",
"text": [
{
"name": "string",
"text": "string",
"lang": "string", // optional
"translation": "string", //optional
"type": "string" // optional
},
...
]
},
...
]
}
Use, Licensing, Attribution
Feel free to take an use this data however you'd like. It's provided as is, is a creative work, and is probably not perfectly accurate.
I only ask that you cite this repository if you do post/publish/share something you make using the data, and that you let me know (on Github or by email) about what you've made.
Explorer des projets similaires
Chargement…