{"id":83,"date":"2012-10-20T02:41:48","date_gmt":"2012-10-20T02:41:48","guid":{"rendered":"https:\/\/krushton.com\/blog\/?p=83"},"modified":"2017-02-04T20:08:20","modified_gmt":"2017-02-04T20:08:20","slug":"tag-radio","status":"publish","type":"post","link":"https:\/\/krushton.com\/blog\/tag-radio\/","title":{"rendered":"Tag Radio"},"content":{"rendered":"<p><a href=\"https:\/\/krushton.com\/iomusictags\/\">Tag Radio<\/a> is a\u00a0music classification visualization that shows the relationships between genres. We used the Last.fm API to pull in the top 50 tags, and then created a python script to measure similarity between a tag and all others based on the number of shared tags. Finally, we used this data to build a visualization with d3.js that arranges these tags in space based on similarity (closer distance = more similar tags).<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-84 size-large\" src=\"https:\/\/krushton.com\/blog\/wp-content\/uploads\/2016\/06\/electronic-1024x673.png\" alt=\"Tag Radio\" width=\"960\" height=\"631\" srcset=\"https:\/\/krushton.com\/blog\/wp-content\/uploads\/2016\/06\/electronic-1024x673.png 1024w, https:\/\/krushton.com\/blog\/wp-content\/uploads\/2016\/06\/electronic-300x197.png 300w, https:\/\/krushton.com\/blog\/wp-content\/uploads\/2016\/06\/electronic-768x504.png 768w, https:\/\/krushton.com\/blog\/wp-content\/uploads\/2016\/06\/electronic.png 1227w\" sizes=\"auto, (max-width: 960px) 100vw, 960px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Tag Radio is a\u00a0music classification visualization that shows the relationships between genres. We used the Last.fm API to pull in the top 50 tags, and then created a python script to measure similarity between a tag and all others based on the number of shared tags. Finally, we used this data to build a visualization &hellip;<\/p>\n","protected":false},"author":1,"featured_media":84,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_vp_format_video_url":"","_vp_image_focal_point":[],"footnotes":""},"categories":[1],"tags":[],"class_list":["post-83","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"wps_subtitle":"Visualizing musical genres ","_links":{"self":[{"href":"https:\/\/krushton.com\/blog\/wp-json\/wp\/v2\/posts\/83","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/krushton.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/krushton.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/krushton.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/krushton.com\/blog\/wp-json\/wp\/v2\/comments?post=83"}],"version-history":[{"count":1,"href":"https:\/\/krushton.com\/blog\/wp-json\/wp\/v2\/posts\/83\/revisions"}],"predecessor-version":[{"id":85,"href":"https:\/\/krushton.com\/blog\/wp-json\/wp\/v2\/posts\/83\/revisions\/85"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/krushton.com\/blog\/wp-json\/wp\/v2\/media\/84"}],"wp:attachment":[{"href":"https:\/\/krushton.com\/blog\/wp-json\/wp\/v2\/media?parent=83"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/krushton.com\/blog\/wp-json\/wp\/v2\/categories?post=83"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/krushton.com\/blog\/wp-json\/wp\/v2\/tags?post=83"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}