geom_bar. the bars wont show up

Hi, am using the code below to create a barplot with facet grid. The facet grid shows up with everything labelled, but the bars are not showing up. What am I doing wrong?
ggplot(data, aes(x = var)) +
labs(title = "title", subtitle = "subtitle",
x = "xname", y = "yname") +
facet_grid(var1 ~ var2)


To help us help you, could you please prepare a reproducible example (reprex) illustrating your issue? Please have a look at this guide, to see how to create one:

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.