Creates a dumbbell plot showing the min-max range of a value across groups (typically states), ordered by median value.
Usage
plot_seasonal_range(
data,
state_col = "state",
value_col = "value",
title = NULL,
x_label = NULL
)Arguments
- data
Data frame containing at least
state_colandvalue_col.- state_col
Column name for grouping (y-axis). Default
"state".- value_col
Column name for the value to summarise. Default
"value".- title
Plot title. Default
NULL(auto-generated fromvalue_col).- x_label
X-axis label. Default
NULL(usesvalue_col).