Plots y verbatim, one bar per row. Use arc_bar() to count rows instead.
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(species = c("a", "b", "c"), mass = c(1, 5, 3))
arc_col(df, species, mass)