We use cookies

We use cookies and other tracking technologies to improve your browsing experience on our website, to show you personalized content and targeted ads, to analyze our website traffic, and to understand where our visitors are coming from.

Tanya Shapiro
  • Home
  • About
  • Talks
  • Blog
  • Projects

English Premier League

R
interactive visual
tables
Interactive graphics exploring stats for teams competing in the English Premier League from 2018 to 2022.

Rankings Over Time

This project started out originally as a quick graphic for #30DayChartChallenge to explore the use of slopes for comparisons. I collected data about clubs in the English Premier League and created a ggplot2 graphic with ggbump to visualize their rankings across different seasons.

I shared it on Twitter, and soon after, someone commented “I wish there was a way to make it interactive!” Challenge happily accepted! I took the static ggplot and brought it to life with ggiraph. Try it out - hovering over different teams will accent them individually.

Arsenal 5 Brighton & Hove Albion 17 AFC Bournemouth 14 Burnley 15 Cardiff City 18 Chelsea 3 Crystal Palace 12 Everton 8 Fulham 19 Huddersfield Town 20 Leicester City 9 Liverpool 2 Manchester United 6 Manchester City 1 Newcastle United 13 Southampton 16 Tottenham Hotspur 4 Watford 11 West Ham United 10 Wolverhampton Wanderers 7 Cardiff City 18 Huddersfield Town 20 16 Nottingham Forest 2 Arsenal 7 Aston Villa 6 Brighton & Hove Albion 15 AFC Bournemouth 9 Brentford 12 Chelsea 11 Crystal Palace 17 Everton 10 Fulham 19 Leeds United 18 Leicester City 5 Liverpool 3 Manchester United 1 Manchester City 4 Newcastle United 16 Nottingham Forest 20 Southampton 8 Tottenham Hotspur 14 West Ham United 13 Wolverhampton Wanderers 2018 2019 2020 2021 2022

Team Season Stats

Here I used reactable and reactablefmtr to create a dynamic table of team stats. Rank includes a trend icon to see YoY delta of the team’s previous season rank. You can toggle between seasons using the select dropdown above the table.


​
Game Stats
Goal Stats
Rank
Team
GP
W
D
L
F
A
GD
1
Manchester City
38
73.7%
13.2%
13.2%
94
33
+61
2
Arsenal
38
68.4%
15.8%
15.8%
88
43
+45
3
Manchester United
38
60.5%
15.8%
23.7%
58
43
+15
4
Newcastle United
38
50.0%
36.8%
13.2%
68
33
+35
5
Liverpool
38
50.0%
26.3%
23.7%
75
47
+28
6
Brighton & Hove Albion
38
47.4%
21.1%
31.6%
72
53
+19
7
Aston Villa
38
47.4%
18.4%
34.2%
51
46
+5
8
Tottenham Hotspur
38
47.4%
15.8%
36.8%
70
63
+7
9
Brentford
38
39.5%
36.8%
23.7%
58
46
+12
10
Fulham
38
39.5%
18.4%
42.1%
55
53
+2
11
Crystal Palace
38
28.9%
31.6%
39.5%
40
49
-9
12
Chelsea
38
28.9%
28.9%
42.1%
38
47
-9
13
Wolverhampton Wanderers
38
28.9%
21.1%
50.0%
31
58
-27
14
West Ham United
38
28.9%
18.4%
52.6%
42
55
-13
15
AFC Bournemouth
38
28.9%
15.8%
55.3%
37
71
-34
16
Nottingham Forest
38
23.7%
28.9%
47.4%
38
68
-30
17
Everton
38
21.1%
31.6%
47.4%
34
57
-23
18
Leicester City
38
23.7%
18.4%
57.9%
51
68
-17
19
Leeds United
38
18.4%
26.3%
55.3%
48
78
-30
20
Southampton
38
15.8%
18.4%
65.8%
36
73
-37
Source: ESPN
 
    Created with Quarto
    Copyright © 2023 Tanya Shapiro. All rights reserved.
Cookie Preferences