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