└── README.md /README.md: -------------------------------------------------------------------------------- 1 | # Python Plots 2 | Created in Jupyter Notebooks 3 | 4 | Basic Shot Map with matplotlib 5 | 6 | ![shotm](https://user-images.githubusercontent.com/87293901/147869671-98197e9f-c8c8-48e6-a5e9-58186617e9a8.png) 7 | 8 | ![shotma](https://user-images.githubusercontent.com/87293901/147869681-d32a505a-1364-4a9d-acf1-63575addf7d2.png) 9 | 10 | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 11 | 12 | xG Trendline using StatsBomb/FBref data 13 | 14 | ![image](https://user-images.githubusercontent.com/87293901/150665917-122ffec7-84ed-41f5-ae8a-021281ee733d.png) 15 | 16 | 17 | 18 | # R Plots 19 | All plots created in Rstudio using ggplot2. 20 | 21 | 22 | Waffle plot on how Premier League teams conceded goals in the 2021/22 season. 23 | 24 | ![image](https://user-images.githubusercontent.com/87293901/150677199-9714ed50-e469-4261-bf41-28bd77728bc2.png) 25 | 26 | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 27 | 28 | Comet Chart showing the difference in npxG of teams in two seasons. 29 | 30 | ![comet](https://user-images.githubusercontent.com/87293901/147869701-d2ef0816-872d-4c4b-9f1f-584efbf625b7.png) 31 | 32 | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 33 | 34 | Using k-means algorithm to cluster progressive passes from the StatsBomb open dataset. All calculations and model implemented in R as well. 35 | 36 | ![Method2](https://user-images.githubusercontent.com/87293901/141331484-e1cb645b-9ce9-4a74-b72f-648c38aae076.png) 37 | 38 | ![Method1](https://user-images.githubusercontent.com/87293901/141331497-8e5efc22-e0e8-48f8-b0c3-c6171cc9369a.png) 39 | 40 | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 41 | 42 | Passflow map of Borussia Dortmund 2020/21 [Made using ggshakeR] 43 | 44 | ![image](https://user-images.githubusercontent.com/87293901/141329934-46d7f982-cf11-4be9-a093-a2207a375a46.png) 45 | 46 | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 47 | 48 | Pizza plots (single player and comparison type) of specific player's using StatsBomb/FBref data 49 | 50 | ![image](https://user-images.githubusercontent.com/87293901/140862887-74f99485-790e-466a-9a59-82fe5fa64fa6.png) 51 | 52 | ![image](https://user-images.githubusercontent.com/87293901/140862909-d6a11158-1864-4621-ba8a-d91ba37eb1ee.png) 53 | 54 | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 55 | 56 | Pass Sonar's of specific player's using event data [2020/21, Dortmund, Bundesliga] 57 | 58 | ![image](https://user-images.githubusercontent.com/87293901/141331097-59d0f29f-98db-4a70-9d58-235b645ae0da.png) 59 | 60 | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 61 | 62 | Cumulative transfer spendings of Premier League clubs from 1992-2021 63 | 64 | ![transferviz](https://user-images.githubusercontent.com/87293901/133718461-9a41e487-acb1-4b5a-a436-40ac54c9b466.png) 65 | 66 | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 67 | 68 | Dumbbell chart showing the spread of minutes played by Mason Greenwood over the course of his career. 69 | 70 | ![Rplot89](https://user-images.githubusercontent.com/87293901/128620874-04c7c804-11d2-4358-9873-c2d077aad8ec.png) 71 | 72 | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 73 | 74 | xG Trendline of Lyon over the past 4 seasons. 75 | 76 | ![lyon xg 2](https://user-images.githubusercontent.com/87293901/127998384-e12bff50-e4ef-4ead-b16e-437563c8a131.png) 77 | 78 | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 79 | 80 | Line chart showing the trend of Man Utd's SPI over the years of 2016-2020. 81 | 82 | ![man utd line](https://user-images.githubusercontent.com/87293901/127998521-ac106034-162e-4a7c-881b-03ce9398e7d5.png) 83 | 84 | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 85 | 86 | Dumbbell chart plotting the performance of Ligue 1 teams with respect to their GD and xGD. 87 | 88 | ![image](https://user-images.githubusercontent.com/87293901/126057480-5c496095-324d-4a48-9b14-551e4db1157b.png) 89 | 90 | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 91 | 92 | Vizualizing how finishing varies over time with Danny Ings as an example. 93 | 94 | ![Rplot93](https://user-images.githubusercontent.com/87293901/128620853-d4508695-d560-4ffd-b34a-1ea122191333.png) 95 | 96 | 97 | 98 | # Tableau Plots 99 | Data visualizations created using Tableau Public. 100 | 101 | 102 | xG accumulation of team's in given time periods. 103 | 104 | Screenshot 2021-09-12 131014 105 | 106 | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 107 | 108 | Upset plot showing the top shot combinations between Manchester United's attackers for the 2020/21 season. 109 | 110 | Screenshot 2021-08-07 145557 111 | 112 | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 113 | 114 | Bump chart showing the matchweek-by-matchweek position of the traditional "big 6" clubs of the Premier League in the 2020/21 season. 115 | 116 | ![image](https://user-images.githubusercontent.com/87293901/125805747-10b5218f-e133-4789-9876-eeed6c895c0c.png) 117 | 118 | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 119 | 120 | Waffle plot with the top 5 midfielders in terms of SCA generated in the big 5 European leagues during the 2020/21 season. 121 | 122 | ![image](https://user-images.githubusercontent.com/87293901/125806106-b54e85d6-235c-4d08-aaf4-9b3bd50880c8.png) 123 | 124 | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 125 | 126 | Dumbbel chart showing the home-away form of Premier League clubs in the 2020/21 season. 127 | 128 | ![image](https://user-images.githubusercontent.com/87293901/125806476-9b91506b-c59e-4b77-be7a-bec13df7c2d2.png) 129 | 130 | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 131 | 132 | Involvement and creativity of midfielders in the top 5 leagues (2020/21). 133 | 134 | ![image](https://user-images.githubusercontent.com/87293901/125807356-80c78317-bd7c-47b7-9648-d027b4d54297.png) ![image](https://user-images.githubusercontent.com/87293901/125807402-ade73cfd-6104-4c54-b797-93de4a1f09b0.png) 135 | 136 | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 137 | 138 | Shot-heat-Maps of specific players (2020/21) 139 | 140 | ![image](https://user-images.githubusercontent.com/87293901/125807699-ad2d0141-2ba9-4106-a4d8-4b8daa37f998.png) 141 | 142 | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 143 | 144 | Visualizing ambidexterity in players through passes attempted by foot (2020/21) 145 | 146 | ![image](https://user-images.githubusercontent.com/87293901/125807938-e38da9a0-c5ec-48f8-b286-a3c34552a86b.png) 147 | ![image](https://user-images.githubusercontent.com/87293901/125807969-7303aa4b-362e-4f8a-88c2-45dfc34c1125.png) 148 | ![image](https://user-images.githubusercontent.com/87293901/125807997-36dae7bc-aaab-4785-9a04-6e3236e832fc.png) 149 | 150 | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 151 | 152 | Involvement of Paul Pogba in his teams play over the past 7 years. 153 | 154 | ![image](https://user-images.githubusercontent.com/87293901/125808355-a38e79e5-ff01-4ea9-b5a0-217777fe9bd5.png) 155 | 156 | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 157 | 158 | Involvement and creativity of forwards in the top 5 leagues (2020/21) 159 | 160 | ![image](https://user-images.githubusercontent.com/87293901/125808551-78ffef4f-721b-4f95-ab3b-ebc1963dfa87.png) 161 | 162 | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 163 | 164 | Shot-heat-maps of Cristiano Ronaldo's open-play shots over the years. 165 | 166 | ![image](https://user-images.githubusercontent.com/87293901/125808621-0215f942-940c-40f5-88a6-d170455244d2.png) 167 | 168 | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 169 | 170 | Mason Greenwood's career shots taken, didvided by season and type of shot. 171 | 172 | ![image](https://user-images.githubusercontent.com/87293901/125809104-e6cfc058-1bfd-4977-aeeb-27b3255ef2f5.png) 173 | ![image](https://user-images.githubusercontent.com/87293901/125809114-291d8719-e9ec-45a8-882f-0b6125bd2e9d.png) 174 | 175 | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 176 | 177 | Jadon Sancho dashboard (2020/21) 178 | 179 | ![image](https://user-images.githubusercontent.com/87293901/125812130-86e3feaf-9916-4995-a62d-a98bf7a5c4b9.png) 180 | 181 | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 182 | 183 | Manchester United shot map (2020/21) 184 | 185 | ![image](https://user-images.githubusercontent.com/87293901/125812194-55f49764-f80b-4cb8-8c2b-01b860009a8f.png) 186 | --------------------------------------------------------------------------------