{"id":9266,"date":"2018-04-20T00:40:28","date_gmt":"2018-04-20T04:40:28","guid":{"rendered":"http:\/\/studentwork.prattsi.org\/infovis\/?p=9266"},"modified":"2018-05-02T15:48:26","modified_gmt":"2018-05-02T19:48:26","slug":"musical-network-visualization","status":"publish","type":"post","link":"https:\/\/studentwork.prattsi.org\/infovis\/labs\/musical-network-visualization\/","title":{"rendered":"Musical Network Visualization"},"content":{"rendered":"<p>I went a little nuts for this week\u2019s lab, attempting to recreate digitally a network graph I drew by hand almost ten years ago. At that time I was a college student (or college radio DJ moonlighting as a student), besotted with my own ever-shifting cross section of rock and roll hagiography. Here is that canon as it stood circa 2010:<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-9267 aligncenter\" src=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/04\/net.jpg?resize=225%2C300\" alt=\"\" width=\"225\" height=\"300\" srcset=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/04\/net.jpg?resize=225%2C300&amp;ssl=1 225w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/04\/net.jpg?resize=768%2C1024&amp;ssl=1 768w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/04\/net.jpg?w=1680 1680w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/04\/net.jpg?w=2520 2520w\" sizes=\"auto, (max-width: 225px) 100vw, 225px\" \/><\/p>\n<p>(I hope you can open that full size)<\/p>\n<p>I drew this thing mostly off the top of my head, with only loose regard for consistency in the types of nodes I drew or the basis for their connections (edges). In most cases, the connection is based on some history of collaboration, or shared members between bands. However, I made a number of quirky exceptions to the rule. For example, the Seattle drone outfit <a href=\"https:\/\/youtu.be\/_xlw6lHjvx4\">Earth<\/a> is linked to Nirvana because Kurt Cobain and Earth\u2019s Dylan Carlson were once roommates.<\/p>\n<p>My original graph, in retrospect, illustrates the personal or subjective nature of canon better than it does any useful historical fact. Notice that The Beatles are marginal, while weirdos like <a href=\"https:\/\/youtu.be\/7zHYA8A_uhs?t=25m30s\">Current 93<\/a> land close to the center of the graph.<\/p>\n<p>For a digital version of this graph, I wanted to be more consistent and even-handed, producing something with more historical than just historiographic meaning. I was inspired mainly by the network visualizations produced by Pratt\u2019s own <a href=\"https:\/\/linkedjazz.org\/network\/\">Linked Jazz<\/a> project. The Linked Jazz graph does not purport to represent all of jazz history, but it is rigorous in describing a social network based on transcribed interviews.<\/p>\n<p>Taking the cue from Linked Jazz, I set out to build a graph containing individuals only (no bands), and to limit the edges to one type of connection\u2013shared credits on a record. I created my own adjacency data by writing Python scripts to iterate through artists\u2019 albums on Wikipedia. I started with David Bowie and worked outward, modifying my scripts to accommodate the format and quirks of each artist\u2019s Wikipedia footprint. I ended up writing scripts for the following artists:<\/p>\n<ul>\n<li>David Bowie<\/li>\n<li>Nick Cave<\/li>\n<li>The Clash<\/li>\n<li>The Cure<\/li>\n<li>Current 93<\/li>\n<li>Brian Eno<\/li>\n<li>Parliament-Funkadelic<\/li>\n<li>PJ Harvey<\/li>\n<li>Richard Hell &amp; The Voidoids<\/li>\n<li>Iggy Pop<\/li>\n<li>Teenage Jesus &amp; The Jerks<\/li>\n<li>Bill Laswell<\/li>\n<li>Laurie Anderson<\/li>\n<li>Lou Reed<\/li>\n<li>Nico<\/li>\n<li>Painkiller<\/li>\n<li>The Sex Pistols<\/li>\n<li>Praxis<\/li>\n<li>Public Image Ltd.<\/li>\n<li>Roxy Music<\/li>\n<li>Siouxsie &amp; The Banshees<\/li>\n<li>Sonic Youth<\/li>\n<li>Swans<\/li>\n<li>Talking Heads<\/li>\n<li>J.G. Thirlwell<\/li>\n<li>The Velvet Underground<\/li>\n<li>Yellow Magic Orchestra<\/li>\n<\/ul>\n<p>Clearly the scope and discipline here are limited, and the results varied depending on how well each artist was accounted for in the Wikisphere.<\/p>\n<p>My scripts also took a couple of scenic detours based on how chronologies overlap on Wikipedia. One of my many Brian Eno scripts jumped over into Harold Budd\u2019s discography, and then pulled in part of the Cocteau Twins\u2019 oeuvre. Another skipped over into U2 territory. I decided to let these unintended offshoots stand in my final product.<\/p>\n<p>I used OpenRefine to clean my data as well as reasonably possible. Cleaning mostly entailed merging aliases (\u201cClint Ruin\u201d = \u201cJim Foetus\u201d = \u201cFoetus Over Frisco\u201d = \u201cJ.G. Thirlwell\u201d), removing nodes named for instruments and technical credits (\u201cguitar\u201d, \u201cmixing\u201d), and cleaning up names that included instrumental designations (\u201cElizabeth Fraser &#8211; vocals\u201d).<\/p>\n<p>The alias situation was most complicated within the vast P-Funk pantheon. This being the most heavily African-American segment of my graph, it led me to consider how tools for network analysis may be poorly suited for representing black communities.\u00a0 But I digress. Here&#8217;s the graph:<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-9268\" src=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/04\/graph.png?resize=300%2C300\" alt=\"\" width=\"300\" height=\"300\" srcset=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/04\/graph.png?resize=300%2C300&amp;ssl=1 300w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/04\/graph.png?resize=150%2C150&amp;ssl=1 150w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/04\/graph.png?resize=768%2C768&amp;ssl=1 768w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/04\/graph.png?w=1024&amp;ssl=1 1024w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>The finished network is messy, but I\u2019m still pleased with it. It does justice to the work of great session musicians like Carlos Alomar and Bernie Worrell\u2013and those are just ones I knew about. It also made me aware of a few other prodigious collaborators whose names I\u2019d overlooked before, like cellist Jane Scarpantoni, engineer Bob Clearmountain, and percussionist A\u00efyb Dieng. These three are all \u201cbridges\u201d between disparate groups. I guess this is something network analysis can do well!<\/p>\n<p>Still, there\u2019s no avoiding the fact that my main graph is too large and dense to represent in a static image. This is made all the worse by my poor understanding of the \u201cpreview\u201d function in Gephi. I\u2019ll need to familiarize myself with it more later.<\/p>\n<p>I decided to try my hand at a hypergraph. With the numbered modularity groups I used to color my graph, I used the VLOOKUP function in Excel to substitute group numbers for names in my adjacency table. I loaded the new table into Gephi, in a new workspace, and graphed the groups with the same colors as clusters from the original graph, and sized based on the percentage of original nodes in each group. Here\u2019s what I got:<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-9269\" src=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/04\/hypergraph2.png?resize=300%2C235\" alt=\"\" width=\"300\" height=\"235\" srcset=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/04\/hypergraph2.png?resize=300%2C235&amp;ssl=1 300w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/04\/hypergraph2.png?resize=768%2C602&amp;ssl=1 768w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/04\/hypergraph2.png?w=924&amp;ssl=1 924w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>I named the nodes in the hypergraph after the fact, based on the clusters from the first graph. The interesting thing to me here was how closely the Bowie, Eno, VU, and Laurie Anderson groups clung together. Maybe it\u2019s a generational thing. Either way, the logical next step here would be MORE DATA.<\/p>\n<p>Every time I updated my graph with more information, new deficiencies and loose ends revealed themself. Some major figure, appearing as a guest on a single album, begs to be represented further and lend their own discography to the network. Furthermore, some discography scrapes close to my heart (namely Current 93) were abortive due to poor or inconsistently formatted Wikipedia entries.<\/p>\n<p>A valiant project would be to encode discographies as linked data. The fastest route to that goal, as far as I can tell, would be transferring \u201cpersonnel\u201d sections from Wikipedia album pages into the Infobox, so that they might be enshrined as linked data on Wikidata. That would open up avenues of inquiry liberated from the tyranny of the frontman, so to speak. But that\u2019s a task for another day, or many days sometime in the future.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I went a little nuts for this week\u2019s lab, attempting to recreate digitally a network graph I drew by hand almost ten years ago. At that time I was a college student (or college radio DJ moonlighting as a student), besotted with my own ever-shifting cross section of rock and roll hagiography. Here is that&hellip;<\/p>\n","protected":false},"author":259,"featured_media":9267,"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":[149],"tags":[],"coauthors":[],"class_list":["post-9266","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-labs"],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/04\/net.jpg?fit=3024%2C4032&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paBdcV-2ps","_links":{"self":[{"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/posts\/9266","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\/259"}],"replies":[{"embeddable":true,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/comments?post=9266"}],"version-history":[{"count":1,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/posts\/9266\/revisions"}],"predecessor-version":[{"id":9270,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/posts\/9266\/revisions\/9270"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/media\/9267"}],"wp:attachment":[{"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/media?parent=9266"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/categories?post=9266"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/tags?post=9266"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/coauthors?post=9266"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}