R/arc-chart.R
arc_chart.Rd
Creates an empty chart bound to a data frame. Pipe it into set_type() before mapping any columns.
set_type()
arc_chart(.data)
Defines which data frame the chart draws its fields from.
An ArcChart.
ArcChart
df <- data.frame(species = c("a", "b", "c"), mass = c(1, 5, 3)) arc_chart(df) |> set_type("bar") |> set_x(species) |> set_y(mass)