df <- iris |>
dplyr::group_by(Species) |>
dplyr::summarise(min_length = min(Sepal.Length),
max_length = max(Sepal.Length))
df |> e_chart(Species) |>
e_barRange(lower = min_length,
upper = max_length,
textSymbol = '"'
)
Run the code above in your browser using DataLab