This function takes in "Batting Summary" dataframe modified after splitBattingSummary and plots a player's year-wise batting average.
Output of splitBattingSummary.
Plots a player's year-wise batting average.
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.