Categorizing a bar chart X values by years

So in the dataset, there are overlapping dates. Is it possible to do a bar chart with years as categorical data? Having it continuous makes it difficult to show yearly trends.

Ok here is the current attempt, except the graphs, are plotted continuously, which is preventing using position="dodge". To get a better sense, here is some data.

#ggplot(data=ForR)
geom_bar(mapping = aes(x=Date,fill=PD))
facet_wrap(~ON,nrow = 3)

@andresrcs
***This problem has now been solved

Hi!

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.