p <- vplot(mtcars) |>
mark_bar(x = factor(cyl), fill = factor(cyl)) |>
coord_polar(theta = "x") |>
labs(title = "Coxcomb (bars in polar space)", fill = "cyl")Coxcomb (polar bars)
Polar
Bars mapped into polar space: a Nightingale-style coxcomb via coord_polar().
Coordinate systems apply after the marks are built. Draw bars, then bend the space with coord_polar().
