Description Usage Arguments Details Value
View source: R/visualize_data.R
donutSznSum returns a donut chart ggplot object for season stats.
1 | donutSznSum(df, plot_lab, visCols, themeCol, textCol)
|
df |
A formatted dataframe. |
plot_lab |
A string. Labels the chart. |
visCols |
A vector of hex color strings. Sets the colors of the chart. |
themeCol |
A hex color string. Sets the background color of the chart. |
textCol |
A hex color string. Sets the text color of the chart legend. |
This function creates a donut chart visualization of cumulative stat totals for a season.
If all parameters are valid, then the output will be a ggplot object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.