{"id":1818,"date":"2020-08-10T12:51:09","date_gmt":"2020-08-10T12:51:09","guid":{"rendered":"http:\/\/optimumsportsperformance.com\/blog\/?p=1818"},"modified":"2020-08-10T12:51:09","modified_gmt":"2020-08-10T12:51:09","slug":"tidyx-22-dumbbell-plots-for-nba-player-stats","status":"publish","type":"post","link":"https:\/\/optimumsportsperformance.com\/blog\/tidyx-22-dumbbell-plots-for-nba-player-stats\/","title":{"rendered":"TidyX 22: Dumbbell Plots for NBA Player Stats"},"content":{"rendered":"<p>This week, <span style=\"color: #0000ff;\"><strong><a style=\"color: #0000ff;\" href=\"https:\/\/twitter.com\/ellis_hughes\">Ellis Hughes<\/a><\/strong><\/span> and I go over how to create dumbbell plots. Dumbbell plots are a nice way of showing differences between two time points or between two variables that are on the same scale within a group or within individual.<\/p>\n<p>To explain dumbbell plots, we first go through code provided by <strong><span style=\"color: #0000ff;\"><a style=\"color: #0000ff;\" href=\"https:\/\/twitter.com\/kllycttn\/status\/1290836964112039936\">Kelly Cotton<\/a><\/span><\/strong>, who used this data visualization technique on the latest <strong><span style=\"color: #0000ff;\"><a style=\"color: #0000ff;\" href=\"https:\/\/github.com\/rfordatascience\/tidytuesday\">TidyTuesday<\/a><\/span><\/strong> data set to show changes in energy production over time within different European countries.<\/p>\n<p>Ellis and I then take Kelly&#8217;s approach and apply it to NBA players to show differences between their Assists per Game and Shots per Game within the 2019 season. A report we termed the <strong><em>&#8220;Ball Hog Report&#8221;<\/em><\/strong>.<\/p>\n<p><a href=\"https:\/\/optimumsportsperformance.com\/blog\/wp-content\/uploads\/2020\/08\/Screen-Shot-2020-08-10-at-5.46.19-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-1819\" src=\"https:\/\/optimumsportsperformance.com\/blog\/wp-content\/uploads\/2020\/08\/Screen-Shot-2020-08-10-at-5.46.19-AM-1024x735.png\" alt=\"\" width=\"625\" height=\"449\" srcset=\"https:\/\/optimumsportsperformance.com\/blog\/wp-content\/uploads\/2020\/08\/Screen-Shot-2020-08-10-at-5.46.19-AM-1024x735.png 1024w, https:\/\/optimumsportsperformance.com\/blog\/wp-content\/uploads\/2020\/08\/Screen-Shot-2020-08-10-at-5.46.19-AM-300x215.png 300w, https:\/\/optimumsportsperformance.com\/blog\/wp-content\/uploads\/2020\/08\/Screen-Shot-2020-08-10-at-5.46.19-AM-768x551.png 768w, https:\/\/optimumsportsperformance.com\/blog\/wp-content\/uploads\/2020\/08\/Screen-Shot-2020-08-10-at-5.46.19-AM-624x448.png 624w, https:\/\/optimumsportsperformance.com\/blog\/wp-content\/uploads\/2020\/08\/Screen-Shot-2020-08-10-at-5.46.19-AM.png 1656w\" sizes=\"auto, (max-width: 625px) 100vw, 625px\" \/><\/a><\/p>\n<p>To watch our screen cast, <strong><span style=\"color: #0000ff;\"><a style=\"color: #0000ff;\" href=\"https:\/\/www.youtube.com\/watch?v=bDn3ZNOPo3Y&amp;feature=youtu.be\">CLICK HERE<\/a><\/span><\/strong>.<\/p>\n<p>To access our code, <span style=\"color: #0000ff;\"><strong><a style=\"color: #0000ff;\" href=\"https:\/\/github.com\/thebioengineer\/TidyX\/tree\/master\/TidyTuesday_Explained\/022-Eurpean_Energy_and_Ball_Hogs\">CLICK HERE<\/a><\/strong><\/span>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This week, Ellis Hughes and I go over how to create dumbbell plots. Dumbbell plots are a nice way of showing differences between two time points or between two variables that are on the same scale within a group or within individual. To explain dumbbell plots, we first go through code provided by Kelly Cotton, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[44],"tags":[],"class_list":["post-1818","post","type-post","status-publish","format-standard","hentry","category-tidyx-screen-cast"],"_links":{"self":[{"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/posts\/1818","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/comments?post=1818"}],"version-history":[{"count":1,"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/posts\/1818\/revisions"}],"predecessor-version":[{"id":1820,"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/posts\/1818\/revisions\/1820"}],"wp:attachment":[{"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/media?parent=1818"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/categories?post=1818"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/tags?post=1818"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}