Skip to contents

Sorted Bar Chart

Usage

sorted_bars(df, var)

Arguments

df

data frame

var

column to plot

Value

A ggplot2 object

Examples

ggplot2::diamonds |>
  sorted_bars(cut) +
  gg_theme()