Rows: 12 Columns: 2
── Column specification ────────────────────────────────────────────────────────
Delimiter: ","
chr (1): Choices
dbl (1): Votes
ℹ Use `spec()` to retrieve the full column specification for this data.
ℹ Specify the column types or set `show_col_types = FALSE` to quiet this message.
# Make sure the months remain ordereddf$Choices <-factor(df$Choices, levels=df$Choices)ggplot(df, aes(Choices, Votes)) +geom_bar(stat="identity") +xlab("Birth Month")+ylab("Frequency")
We can create a expectation column based on total votes and the number of months.