Categories plot in level order; pass x = factor(x, levels = unique(x)) to keep them in data order.

geom_waterfall(
  mapping = NULL,
  data = NULL,
  alpha = NULL,
  width = 0.8,
  color_pos = NULL,
  color_neg = NULL
)

Arguments

mapping, data, alpha

As in geom_point().

width

Bar width in x slot units.

color_pos, color_neg

Bar colors for increases/decreases.

Value

A Layer.