Joins one point per row in x order. Use set_stat() to aggregate y
first.
Arguments
- .data
Defines which data frame the chart draws its fields from.
- x, y
Defines which columns supply the bar positions and heights.
- position
default
NULL. Defines howset_color()groups are placed, one of"dodge","stack", or"fill". Seeset_position().
Examples
df <- data.frame(year = c(2020, 2021, 2022), mass = c(1, 5, 3))
arc_line(df, year, mass)