{"id":31144,"date":"2022-04-14T14:15:09","date_gmt":"2022-04-14T18:15:09","guid":{"rendered":"https:\/\/studentwork.prattsi.org\/infovis\/?p=31144"},"modified":"2022-05-11T17:02:00","modified_gmt":"2022-05-11T21:02:00","slug":"harry-potter-and-the-order-of-the-characters-%f0%9f%aa%84","status":"publish","type":"post","link":"https:\/\/studentwork.prattsi.org\/infovis\/visualization\/harry-potter-and-the-order-of-the-characters-%f0%9f%aa%84\/","title":{"rendered":"Harry Potter and the order of the characters \ud83e\ude84"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"introduction\">Introduction<\/h2>\n\n\n\n<p>I first watched Harry Potter in 2004, and it changed my life forever. Even though it&#8217;s been a while since 2004, I still like watching films and reading books. Books often have a dense plot that might be difficult for a reader to follow throughout the book. We explore the social networks of characters in cultural works such as books and movies. I wanted to try something different and integrate the characters from Harry Potter with the context of data analysis. Many of the traits of complex networks, such as skewed degree distribution and community structure, are present in these character networks, although they may be of relatively small order with a large number of edges. As a\u00a0Potterhead\u00a0who has engaged in many conversations with friends and read books, I thought it&#8217;d be an intriguing chance to conduct a <strong>Harry Potter character network analysis using Gephi<\/strong> to figure out the central characters that emerge and how their interactions have been with everyone else.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"inspiration\">Inspiration<\/h2>\n\n\n\n<p>I started my search by looking for materials on-network data visualizations, and one of the\u00a0sources I could find was Beveridge and Shan, who used network techniques to create a social network from A Storm of Swords, the third novel in George R.R. Martin&#8217;s A Song of Ice and Fire trilogy. PageRank, proximity, betweenness centrality, and modularity gave an empirical way to evaluate communities and major actors inside the network. The dynamic network for <a rel=\"noreferrer noopener\" href=\"https:\/\/aidanmoher.com\/blog\/wp-content\/uploads\/2011\/05\/LOTRInfographic051611.jpeg\" target=\"_blank\">Lord of the Rings<\/a> was examined, which included data such as character species, making the resulting network extremely fascinating.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.reddit.com\/r\/dataisbeautiful\/comments\/ju8iuu\/most_commonly_occurring_harry_potter_fanfiction\/\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"840\" height=\"459\" src=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-10-at-4.47.23-PM-1024x559.png?resize=840%2C459&#038;ssl=1\" alt=\"\" class=\"wp-image-31269\" srcset=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-10-at-4.47.23-PM.png?resize=1024%2C559&amp;ssl=1 1024w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-10-at-4.47.23-PM.png?resize=300%2C164&amp;ssl=1 300w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-10-at-4.47.23-PM.png?resize=768%2C419&amp;ssl=1 768w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-10-at-4.47.23-PM.png?resize=1536%2C838&amp;ssl=1 1536w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-10-at-4.47.23-PM.png?resize=2048%2C1118&amp;ssl=1 2048w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-10-at-4.47.23-PM.png?resize=800%2C437&amp;ssl=1 800w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-10-at-4.47.23-PM.png?resize=330%2C180&amp;ssl=1 330w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-10-at-4.47.23-PM.png?w=1680 1680w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-10-at-4.47.23-PM.png?w=2520 2520w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/><\/a><figcaption>Harry Potter Character Pairings<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"materials\">Materials<\/h2>\n\n\n\n<p class=\"has-medium-font-size\"><strong><em>Tools<\/em><\/strong> &#8211;<\/p>\n\n\n\n<p><a href=\"https:\/\/gephi.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">Gephi<\/a> (Windows version 0.9.2) \u2014 Open-source network visualization and analysis program. This program was used to produce and examine my network data visualization.<br><a href=\"https:\/\/products.office.com\/en-us\/excel\" target=\"_blank\" rel=\"noreferrer noopener\">Microsoft Excel<\/a> is a spreadsheet program developed by Microsoft that is included in the MS Office suite. I used it to inspect and comprehend the dataset CSV files before importing them into Gephi.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"dataset\"><em>Dataset \u2013<\/em><\/h4>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:45%\">\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"840\" height=\"479\" src=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-11-at-7.37.25-PM.png?resize=840%2C479&#038;ssl=1\" alt=\"\" class=\"wp-image-31365\" srcset=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-11-at-7.37.25-PM.png?w=1042&amp;ssl=1 1042w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-11-at-7.37.25-PM.png?resize=300%2C171&amp;ssl=1 300w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-11-at-7.37.25-PM.png?resize=1024%2C584&amp;ssl=1 1024w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-11-at-7.37.25-PM.png?resize=768%2C438&amp;ssl=1 768w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-11-at-7.37.25-PM.png?resize=800%2C456&amp;ssl=1 800w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-11-at-7.37.25-PM.png?resize=316%2C180&amp;ssl=1 316w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/><figcaption>The dataset&#8217;s specifics are \u2014<br>Nodes \u2013 66 (Harry Potter characters) <br>Edges \u2013 514 (Interactions between these characters)<\/figcaption><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:66.66%\">\n<p>The dataset was built by linking two files. The edge weights are proportional to the number of interactions between these characters. The remaining columns in the data were allocated to the characters&#8217; alignment, whether they were good or bad, or simply if they were on Team Harry or Team Voldemort. There are also sections for gender and house assigned! There were a few spots where the data was missing or I thought was incorrect; however, because I have a vast knowledge of the characters, it was pretty easy for me to provide those elements.<\/p>\n<\/div>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"process\">Process<\/h2>\n\n\n\n<p><em><strong>Feeding the dataset into Gephi and running some statistics<\/strong><\/em><\/p>\n\n\n\n<p>The initial step in my method was to comprehend the two CSV files that comprised the node table and the edges table. When the dataset made sense to me, I imported the nodes and edges tables into Gephi. The program created a visualization by default, but it did not make sense because all of the nodes were jumbled together. As a result, in order to increase usability, I needed to make certain layout changes as well as visual changes. <br>The round bubbles of varying sizes are referred to as nodes, while the lines that connect them are referred to as edges, arcs, links, ties, or relations. Edges are the connections between nodes, they\u00a0can also be weighted, making them heavier or lighter based on the parameters you define for the data. Gephi also calculates the centrality of nodes, with the larger nodes being the most essential to the network.<br>I obtained an average degree, network diameter, graph density, and modularity data. The average degree tells me how many edges are connected to a node. The network diameter tells me the longest and shortest path between nodes in the graph. Graph density informs me of how near the graph is to completion. Finally, modularity is a community detection technique that displays the various communities that exist in the data.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"840\" height=\"430\" src=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-11-at-8.03.41-PM-1024x524.png?resize=840%2C430&#038;ssl=1\" alt=\"\" class=\"wp-image-31370\" srcset=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-11-at-8.03.41-PM.png?resize=1024%2C524&amp;ssl=1 1024w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-11-at-8.03.41-PM.png?resize=300%2C154&amp;ssl=1 300w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-11-at-8.03.41-PM.png?resize=768%2C393&amp;ssl=1 768w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-11-at-8.03.41-PM.png?resize=1536%2C786&amp;ssl=1 1536w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-11-at-8.03.41-PM.png?resize=2048%2C1048&amp;ssl=1 2048w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-11-at-8.03.41-PM.png?resize=800%2C409&amp;ssl=1 800w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-11-at-8.03.41-PM.png?resize=352%2C180&amp;ssl=1 352w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-11-at-8.03.41-PM.png?w=1680 1680w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-11-at-8.03.41-PM.png?w=2520 2520w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/><\/figure>\n\n\n\n<p>For example, each node represents a character, and each color represents the house\u00a0to which they belong. The edges\/relationships might then be who they talk to, with a larger emphasis on those who have talked to each other the most times.<br>Initially, I utilized Gephi&#8217;s Force Atlas2 layout and separated the nodes to make it simpler to understand who was talking to whom. It was clear that Harry, Hermione, Ron, and Voldemort are the most prominent characters, chatting with practically everyone, although other characters do not speak with individuals from other houses. These are the four-character that connects all these different houses together. I would add that it is telling to see how many heavily-weighted edges are directed toward Harry compared to the edges directed out from his node\u2014he is talked to more than he talks to others. This could add to a character analysis of Harry if a scholar were to go back to the text and analyze those conversations. This network would also be interesting if it were to add a\u00a0<strong>self-loop<\/strong>, in which an edge coming out of Harry Potter, for example, would loop back in on itself. Since Harry talks to himself often, it would be telling to see these kinds of edges as well. This would necessitate a change in the data set to include character-to-character conversations.<\/p>\n\n\n\n<p><em><strong>Improving the layout of the visualization<\/strong><\/em><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"840\" height=\"322\" src=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-14-at-9.02.53-AM-1024x393.png?resize=840%2C322&#038;ssl=1\" alt=\"\" class=\"wp-image-31374\" srcset=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-14-at-9.02.53-AM.png?resize=1024%2C393&amp;ssl=1 1024w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-14-at-9.02.53-AM.png?resize=300%2C115&amp;ssl=1 300w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-14-at-9.02.53-AM.png?resize=768%2C295&amp;ssl=1 768w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-14-at-9.02.53-AM.png?resize=1536%2C590&amp;ssl=1 1536w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-14-at-9.02.53-AM.png?resize=2048%2C786&amp;ssl=1 2048w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-14-at-9.02.53-AM.png?resize=800%2C307&amp;ssl=1 800w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-14-at-9.02.53-AM.png?resize=400%2C154&amp;ssl=1 400w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-14-at-9.02.53-AM.png?w=1680 1680w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-14-at-9.02.53-AM.png?w=2520 2520w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/><figcaption>Yifan hu proportional&nbsp;layout<\/figcaption><\/figure>\n\n\n\n<p>I created a Gephi network using indirect conversations as the edges and characters as the nodes but organized by the house. I used the\u00a0Yifan hu proportional and Fruchterman Reingold\u00a0layout because I thought it would produce a particularly interesting graph by using a force-directed model and reducing the complexity. The Ravenclaw and Hufflepuff characters are \u201cobviously vastly outnumbered\u201d by the Gryffindor and Slytherin characters. I would also note that the size of Harry, Ron, and Hermonie\u2019s nodes are fairly similar, which is interesting considering that Harry is much more a central character, being the one Voldermote wants to enact revenge upon. This might also mean that they are more pawns in the conflict between the characters as well.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"840\" height=\"322\" src=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-14-at-9.28.44-AM-1024x393.png?resize=840%2C322&#038;ssl=1\" alt=\"\" class=\"wp-image-31377\" srcset=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-14-at-9.28.44-AM.png?resize=1024%2C393&amp;ssl=1 1024w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-14-at-9.28.44-AM.png?resize=300%2C115&amp;ssl=1 300w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-14-at-9.28.44-AM.png?resize=768%2C295&amp;ssl=1 768w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-14-at-9.28.44-AM.png?resize=1536%2C590&amp;ssl=1 1536w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-14-at-9.28.44-AM.png?resize=2048%2C786&amp;ssl=1 2048w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-14-at-9.28.44-AM.png?resize=800%2C307&amp;ssl=1 800w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-14-at-9.28.44-AM.png?resize=400%2C154&amp;ssl=1 400w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-14-at-9.28.44-AM.png?w=1680 1680w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-14-at-9.28.44-AM.png?w=2520 2520w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/><\/figure>\n\n\n\n<p>At this point, I needed to look up how to zoom into the layout and see if there was a method to relocate the nodes that were extremely far out and remote. Because I had been informed that the program has a tendency to crash, I made sure to save every 10 minutes and that all other software remained closed. <\/p>\n\n\n\n<p><em><strong>Playing around with colors and weights<\/strong><\/em><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"840\" height=\"344\" src=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-14-at-9.48.51-AM-1024x419.png?resize=840%2C344&#038;ssl=1\" alt=\"\" class=\"wp-image-31381\" srcset=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-14-at-9.48.51-AM.png?resize=1024%2C419&amp;ssl=1 1024w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-14-at-9.48.51-AM.png?resize=300%2C123&amp;ssl=1 300w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-14-at-9.48.51-AM.png?resize=768%2C314&amp;ssl=1 768w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-14-at-9.48.51-AM.png?resize=1536%2C628&amp;ssl=1 1536w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-14-at-9.48.51-AM.png?resize=2048%2C838&amp;ssl=1 2048w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-14-at-9.48.51-AM.png?resize=800%2C327&amp;ssl=1 800w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-14-at-9.48.51-AM.png?resize=400%2C164&amp;ssl=1 400w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-14-at-9.48.51-AM.png?w=1680 1680w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-14-at-9.48.51-AM.png?w=2520 2520w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/><\/figure>\n\n\n\n<p>I created a Gephi network with nodes representing characters, directed edges indicating direct talks, and colors signifying houses (Gryffindor, Hufflepuff, Ravenclaw, Slytherin). For the characters that couldn&#8217;t be assigned to one of the Hogwarts houses, like those at Beauxbatons and Durmstrang, I picked their school colors to symbolize them. There are other characters in this category whose background is unclear, who are muggles, house-elves, or animals, they have not been allocated a distinct color. Once the circular algorithm made the layout a lot better, there was still a huge scope for improvement as the visualization was still quite difficult to understand. To remedy this, I performed the\u00a0<strong>Expansion algorithm\u00a0<\/strong>several times by a scale factor of 2x each, to reach the right point where the nodes were nicely spread out without making the whole visualization too large. Finally, I also ran the\u00a0<strong>Label Adjust algorithm<\/strong>, to make sure there was enough room for the labels of each of the nodes, without any overlap.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"840\" height=\"550\" src=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-14-at-1.32.07-PM-1024x670.png?resize=840%2C550&#038;ssl=1\" alt=\"\" class=\"wp-image-31383\" srcset=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-14-at-1.32.07-PM.png?resize=1024%2C670&amp;ssl=1 1024w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-14-at-1.32.07-PM.png?resize=300%2C196&amp;ssl=1 300w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-14-at-1.32.07-PM.png?resize=768%2C502&amp;ssl=1 768w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-14-at-1.32.07-PM.png?resize=1536%2C1005&amp;ssl=1 1536w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-14-at-1.32.07-PM.png?resize=2048%2C1339&amp;ssl=1 2048w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-14-at-1.32.07-PM.png?resize=800%2C523&amp;ssl=1 800w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-14-at-1.32.07-PM.png?resize=275%2C180&amp;ssl=1 275w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-14-at-1.32.07-PM.png?w=1680 1680w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"results-analysis\">Results &amp; Analysis<\/h2>\n\n\n\n<p>Gephi networks cannot give us definitive conclusions but\u00a0can help raise more questions about the text that we are using. Unexpected results can provoke a new question about the text we would have never asked before:\u00a0 for instance, is Sirus more of a central character in\u00a0Harry Potter\u00a0than a reader would originally think? If so, how is that done, and how is it hidden in the text and revealed in the network visualization?! A degree centrality assessment of each node was analyzed to explore who the most integral characters were. To help in recognizing which major characters played that specific role and that\u00a0led to them obtaining greater levels of centrality. As centrality is used to establish how significant specific nodes are, it was important to figure out what exactly is meant by impact in this case. Based on the data, it was found that the character with the highest degree of centrality was one of the main protagonists in the narrative. Harry Potter had the most centrality, followed by Ron Weasley, and Hermione Granger, all of whom were Harry&#8217;s best friends, as well as Albus Dumbeldore the headmaster, and then he who must not be named &#8211; Voldermort.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"reflection\">Reflection<\/h2>\n\n\n\n<p>There were times when I wanted the infographics to just magically appear from waving a wand and casting a spell.\u00a0Though the transformation of information such as character information, location, plot points, and any other interesting tidbits into numerical data to input into Gephi is time-consuming and tedious, it means that we\u00a0<strong>have control over exactly what data we are collecting<\/strong>\u00a0and what we really want to see in a 3D visualization. And though the networks cannot give us definitive data since it has been reduced in this way, it is an easier way to see what we cannot just by reading a text. I found it\u00a0far more engaging\u00a0to work with a dataset\u00a0that was concentrated on a subject I was quite knowledgeable about. My network enabled me to notice all of the connections other than the obvious ones depicted in the books and movies.<\/p>\n\n\n\n<p>Potential options for this investigation would be to compare the Harry Potter story to another well-known story to examine the parallels and differences.\u00a0There is a distinction between how the characters are depicted in the novels and how they are shown in the movie. I believe it would be incredibly intriguing to investigate it and even see how it progresses through the books and movies, which would go a step farther than this effort of gaining an overall picture of the characters&#8217; connections.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction I first watched Harry Potter in 2004, and it changed my life forever. Even though it&#8217;s been a while since 2004, I still like watching films and reading books. Books often have a dense plot that might be difficult for a reader to follow throughout the book. We explore the social networks of characters&hellip;<\/p>\n","protected":false},"author":2701,"featured_media":31269,"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":[1],"tags":[],"coauthors":[1751],"class_list":["post-31144","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-visualization"],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2022\/04\/Screen-Shot-2022-04-10-at-4.47.23-PM.png?fit=2880%2C1572&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paBdcV-86k","_links":{"self":[{"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/posts\/31144","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\/2701"}],"replies":[{"embeddable":true,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/comments?post=31144"}],"version-history":[{"count":48,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/posts\/31144\/revisions"}],"predecessor-version":[{"id":32972,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/posts\/31144\/revisions\/32972"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/media\/31269"}],"wp:attachment":[{"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/media?parent=31144"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/categories?post=31144"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/tags?post=31144"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/coauthors?post=31144"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}