Plot Counts of Categorical Variables Create a ggplot2 column chart of categorical variables with proportions, in ascending order.
A dataframe with categorical variables
a categorical variable by which to group the count by
a ggplot2 object
1 2 3 4 5 6 7 8
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.