two‑column data.frame: category in the first column, numeric values in the second
label_x
x‑axis label
label_y
y‑axis label
colors
optional fill color (single value)
alpha
bar transparency (0–1)
Details
If colors is provided, a constant fill is used; otherwise ggplot2's default palette applies.
alpha controls bar transparency. The first column is coerced to factor when needed.