{"id":17251,"date":"2019-11-12T14:01:21","date_gmt":"2019-11-12T19:01:21","guid":{"rendered":"http:\/\/studentwork.prattsi.org\/infovis\/?p=17251"},"modified":"2019-11-12T14:01:31","modified_gmt":"2019-11-12T19:01:31","slug":"game-of-thrones-network-visualization","status":"publish","type":"post","link":"https:\/\/studentwork.prattsi.org\/infovis\/visualization\/game-of-thrones-network-visualization\/","title":{"rendered":"GAME OF THRONES NETWORK VISUALIZATION"},"content":{"rendered":"\n<h4 class=\"wp-block-heading\">INTRODUCTION<\/h4>\n\n\n\n<p>Game of Thrones is a series based on George R.R. Martin&#8217;s best-selling book series &#8220;A Song of Ice and Fire&#8221;. This captivating series gained immense popularity because of the vast plethora of characters and its intriguing plots. Being an admirer of the series, I decided to create a network visualization and analysis based on its characters. <\/p>\n\n\n\n<h4 class=\"wp-block-heading\">INSPIRATION<\/h4>\n\n\n\n<p>During my research, I came across 2 network analysis projects that were detail-oriented and well organized. <\/p>\n\n\n\n<p>The first &#8216; Network of Thrones &#8211; The song of Math and Westeros&#8217; showcased clusters of 6 communities and it&#8217;s prominent characters.  The nodes and edges were easy to spot because of the colors used. <\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/networkofthrones.files.wordpress.com\/2017\/07\/got1v3-network.png?w=840\" alt=\"got1v3-network\" \/><figcaption><a href=\"https:\/\/networkofthrones.wordpress.com\/the-novels\/a-game-of-thrones\/\">https:\/\/networkofthrones.wordpress.com\/the-novels\/a-game-of-thrones\/<\/a><\/figcaption><\/figure><\/div>\n\n\n\n<p>Game Of Thrones &#8211; A Social Network Analysis was another post that caught my attention.  The author tries multiple permutations and combinations to achieve a visualization that makes identifying the characters and their connections easy.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/media.licdn.com\/dms\/image\/C4D12AQGi64EIDbCwVw\/article-inline_image-shrink_1000_1488\/0?e=1579132800&amp;v=beta&amp;t=MELvEbTeWzmbq_q4PROSrWdHRaoi7JzJL4fOcMlLE68\" alt=\"No alt text provided for this image\" \/><figcaption><a href=\"https:\/\/www.linkedin.com\/pulse\/game-thrones-social-network-analysis-conor-aspell\">https:\/\/www.linkedin.com\/pulse\/game-thrones-social-network-analysis-conor-aspell<\/a><\/figcaption><\/figure><\/div>\n\n\n\n<h4 class=\"wp-block-heading\">TOOLS<\/h4>\n\n\n\n<p><a href=\"http:\/\/openrefine.org\/\">Open Refine<\/a> was used to view and refine the downloaded data. The data was then saved in a CSV format and put into <a href=\"https:\/\/gephi.org\/\">Gephi<\/a> to start creating the network visualization.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">PROCESS<\/h4>\n\n\n\n<ul class=\"wp-block-list\"><li>Finding the dataset and importing it to Gephi<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-verse\"><a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/mathbeveridge\/asoiaf\" target=\"_blank\">Andrew Beveridge\u2019s GitHub \u2013 A Song of Ice and Fire Page<\/a><\/pre>\n\n\n\n<p>The dataset used for this project was downloaded from Github. The dataset was clean and did not need a lot of refining. <\/p>\n\n\n\n<p>The networks were created by connecting two characters whenever their names appeared within 15 words of one another in the books. The edge weight corresponds to the number of interactions.<\/p>\n\n\n\n<p>The dataset was then imported into Gephi as 2 tables &#8211; nodes and edges.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Nodes \u2013 796 <\/li><li>Edges \u2013 2823<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"840\" height=\"840\" src=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2019\/11\/Stage-1.png?resize=840%2C840&#038;ssl=1\" alt=\"\" class=\"wp-image-17285\" srcset=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2019\/11\/Stage-1.png?w=1024&amp;ssl=1 1024w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2019\/11\/Stage-1.png?resize=150%2C150&amp;ssl=1 150w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2019\/11\/Stage-1.png?resize=300%2C300&amp;ssl=1 300w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2019\/11\/Stage-1.png?resize=768%2C768&amp;ssl=1 768w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2019\/11\/Stage-1.png?resize=800%2C800&amp;ssl=1 800w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2019\/11\/Stage-1.png?resize=180%2C180&amp;ssl=1 180w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/><figcaption>Start of the Network Visualization<\/figcaption><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>Experimenting with the visualization<\/li><\/ul>\n\n\n\n<p>At first, it was difficult to make sense of the visualization. It was too complicated because of the large number of characters and all their multiple connections. I started experimenting with the different layouts available in Gephi in order to make it easier to understand. Fruchterman Reingold was used for the final visualization (Area: 10000.0, Gravity: 10.0, Speed: 1.0).<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Improving the visualization <\/li><\/ul>\n\n\n\n<p>After finalizing the layout, I started changing the color palette to improve the readability and legibility. I didn&#8217;t want to use more than 3 colors as it was adding to the messiness. I further worked on the font, font color, and sizes. <\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Running statistics<\/li><\/ul>\n\n\n\n<p>Finally, I ran some statistics for the network visualization &#8211; <\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Average degree: 7.093<\/li><li>Average weighted degree: 81.982<\/li><li>Network diameter: 9<\/li><li>Graph density: 0.009<\/li><li>Modularity: 0.563<\/li><\/ol>\n\n\n\n<h4 class=\"wp-block-heading\">RESULTS AND ANALYSIS<\/h4>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"840\" height=\"840\" src=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2019\/11\/GOT.png?resize=840%2C840&#038;ssl=1\" alt=\"\" class=\"wp-image-17258\" srcset=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2019\/11\/GOT.png?w=1024&amp;ssl=1 1024w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2019\/11\/GOT.png?resize=150%2C150&amp;ssl=1 150w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2019\/11\/GOT.png?resize=300%2C300&amp;ssl=1 300w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2019\/11\/GOT.png?resize=768%2C768&amp;ssl=1 768w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2019\/11\/GOT.png?resize=800%2C800&amp;ssl=1 800w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2019\/11\/GOT.png?resize=180%2C180&amp;ssl=1 180w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/><figcaption>Final Visualization<\/figcaption><\/figure>\n\n\n\n<p>Based on the visualization, Tyrion Lannister has the maximum number of connections followed by Jon Snow.  A few other prominent characters are Cersei Lannister, Jamie, and Stanis Baratheon. <\/p>\n\n\n\n<p>The visualization also suggests that characters that played an important role may or may not have had a lot of connections. The prominent characters and their connections also vary drastically from season to season. <\/p>\n\n\n\n<h4 class=\"wp-block-heading\">REFLECTION<\/h4>\n\n\n\n<p>Gephi is a great software to create quick network visualizations with less effort and at no cost. It makes analyzing networks fun and easy. <\/p>\n\n\n\n<p>If I could add to this project, I would want to specify each character&#8217;s house to see which houses were closely connected. I would also want to know which characters were prominent in a particular season.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>INTRODUCTION Game of Thrones is a series based on George R.R. Martin&#8217;s best-selling book series &#8220;A Song of Ice and Fire&#8221;. This captivating series gained immense popularity because of the vast plethora of characters and its intriguing plots. Being an admirer of the series, I decided to create a network visualization and analysis based on&hellip;<\/p>\n","protected":false},"author":634,"featured_media":17334,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[342,1],"tags":[],"coauthors":[458],"class_list":["post-17251","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-networks","category-visualization"],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2019\/11\/download.jpeg?fit=317%2C159&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paBdcV-4uf","_links":{"self":[{"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/posts\/17251","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/users\/634"}],"replies":[{"embeddable":true,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/comments?post=17251"}],"version-history":[{"count":10,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/posts\/17251\/revisions"}],"predecessor-version":[{"id":17335,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/posts\/17251\/revisions\/17335"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/media\/17334"}],"wp:attachment":[{"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/media?parent=17251"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/categories?post=17251"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/tags?post=17251"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/coauthors?post=17251"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}