-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.qmd
147 lines (103 loc) · 5.89 KB
/
index.qmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
---
title: "Vectors of Victory"
subtitle: "Looking Back at the Launch Metrics During the 2024 Dodgers-Padres Playoff Series<br>A Closeread project by [Axel Kent](https://www.linkedin.com/in/axel-kent/)"
format:
closeread-html:
#remove-header-space: true
cr-style:
section-background-color: white
narrative-font-family: sans-serif
narrative-text-color-sidebar: white
narrative-background-color-sidebar: black
---
:::: cr-section
The Los Angeles Dodgers won their 8th World Series title on October 28th, defeating the New York Yankees 4 games to 1 in a Best-of-7 Series. @cr-WS
::: {#cr-WS}
![](visualizations/WS.png)
:::
::::
::: cr-section
But the Dodgers' manager called the San Diego Padres, their first playoff opponent, their toughest challenge. [@cr-roberts]{zoom-to="1" highlight="1"}
| {#cr-roberts}
| “I felt, from my perspective, that was the World Series...
| when we started the postseason, they were one through 26, the best team..."
| *Dodgers manager Dave Roberts on the [On Base With Mookie Betts](https://www.youtube.com/watch?v=7j4GQz24k0Y&list=PLoqDIJHlyN3P5T7m9eVHpeGSyYHOPXEIr&index=2) podcast*
:::
:::: cr-section
The Dodgers won the NLDS 3-2 in a Best-of-5 series. Aside from Game 2 and Game 4, all games were decided by 3 runs or fewer. @cr-NLDS
::: {#cr-NLDS}
![](visualizations/NLDS.png)
:::
::::
:::: cr-section
The Padres were held scoreless in the final two games. @cr-NLDS_Gm4Gm5
::: {#cr-NLDS_Gm4Gm5}
![](visualizations/NLDS_Gm4Gm5.png)
:::
::::
:::: cr-section
To deeper analyze the series, let's look at the quality of balls in play. This visualization is inspired by a [project by Jim Albert](https://baseballwithr.wordpress.com/2023/10/23/zack-wheelers-pitching-in-the-2023-nlcs/). @cr-launchplot_full_static
- Blue dots represent hits.
- Orange dots represent all other ball in play events.
- **Large blue dots represent home runs.**
::: {#cr-launchplot_full_static}
![](visualizations/launchplot_all.png)
:::
Ground balls typically occur in this range, with low launch angles. [@cr-launchplot_full_static]{pan-to="715px"}
Pop-ups typically occur in this range, with high launch angles. [@cr-launchplot_full_static]{pan-to="-825px"}
Line drives and fly balls fall somewhere in between. @cr-launchplot_full_static
::::
:::: cr-section
Hovering over the plot allows readers to click hyperlinks that show videos of the plot's observations, hosted on [Baseball Savant](baseballsavant.mlb.com). Users can click and drag their cursor to zoom in on an area of interest. @cr-launchplot_demo
::: {#cr-launchplot_demo}
![](visualizations/PlotInteract.mp4)
:::
::::
:::: cr-section
Try for yourself. @cr-launchplot_full
::: {#cr-launchplot_full}
![](visualizations/launchplot_all.html){width="900" height="700"}
:::
::::
:::: cr-section
Given the close score margins in most of the games, looking at the window of where home runs fell may be insightful. Let's zoom in on the area where home runs, and near-home runs occurred. @cr-launchplot_hr_range
The 17 home runs hit in the series had launch angles ranging from 22 to 37 degrees and launch speeds from 94 to 112 mph. As seen in the plot, a ball falling in the home run window does not necessarily mean a home run occurred. @cr-launchplot_hr_range
::: {#cr-launchplot_hr_range}
![](visualizations/launchplot_hrRange_video.html){width="900" height="700"}
:::
::::
::::: cr-section
**Shohei Ohtani**, the 2024 National League Most Valuable Player and Dodgers' designated hitter, hit 2 balls in the home run window. @cr-launchplot_hr_range_Ohtani
::: {#cr-launchplot_hr_range_Ohtani}
![](visualizations/launchplot_hrRange_Ohtani.html){width="900" height="700"}
:::
:::::
::::: cr-section
His lone home run in the series took place in Game 1, which provided 3 runs in a 7-5 win. @cr-launchplot_hr_Ohtani_HR
::: {#cr-launchplot_hr_Ohtani_HR}
![](visualizations/launchplot_hrRange_Ohtani_HR.html){width="900" height="700"}
:::
::::
:::::: cr-section
**Manny Machado**, the Padres' third baseman, hit 3 balls in the home run window. @cr-launchplot_hr_range_Machado
::: {#cr-launchplot_hr_range_Machado}
![](visualizations/launchplot_hrRange_Machado.html){width="900" height="700"}
:::
::::::
:::::: cr-section
Expanding the home run window to a launch angle of 41 degrees shows some near-miss home runs from Machado. @cr-launchplot-MachadoNearMiss
::: {#cr-launchplot-MachadoNearMiss}
![](visualizations/launchplot_hrRange_MachadoExpandedAngle.html){width="900" height="700"}
:::
::::::
:::::: cr-section
Two near-home runs came in Game 5, a 2-0 loss for the Padres. Both balls fell just short of clearing the wall for home runs, suggesting how subtle shifts in launch metrics can influence baseball history. @cr-launchplot-MachadoNearMissOnly
::: {#cr-launchplot-MachadoNearMissOnly}
![](visualizations/launchplot_hrRange_MachadoExpandedAngleGm5.html){width="900" height="700"}
:::
::::::
# Shiny App
The Launch Plot for the 2024 Dodgers-Padres Playoff series is available in a [Shiny app](https://axelkent.shinyapps.io/LaunchMetricsApp/).
# Acknowledgements
I would like to acknowledge [Jim Albert](https://gist.github.com/bayesball), for his visualizations created on his blog post titled ["Zack Wheeler’s Pitching in the 2023 NLCS"](https://baseballwithr.wordpress.com/2023/10/23/zack-wheelers-pitching-in-the-2023-nlcs/) encouraged me to do a deep dive on the 2024 Dodgers-Padres playoff series. Albert's code used to generate that blog post's visualizations is found [here](https://gist.github.com/bayesball/a1f8ddb4593e7b31b83022e511f5e560).
I would also like to acknowledge [Robert Frey](https://github.com/robert-frey), for his YouTube tutorial titled ["Combine Video with a Savant Dataset!"](https://www.youtube.com/watch?v=a_fIJxuaQL8) and code demonstrated how to retrieve videos for each observation. Frey's code is available [here](https://github.com/robert-frey/YouTube/blob/master/Combine%20Video%20with%20a%20Savant%20Dataset!/savant_videos.R).