Hi @livjos!
I added code formatting to your original post, which makes it easier to read what you posted (and, for instance, see how your data columns were supposed to align). I strongly encourage you to do this yourself in the future — you can read more about how code formatting works on this forum here: FAQ: How to make your code look nice? Markdown Formatting
(Tip: if you use the reprex
package to process your code examples, it takes care of the formatting for you, and gives you a perfect, paste-ready chunk! )
A tiny note — you said you wanted to make a bar plot, but your code template is actually making a scatterplot (it has a geom_point()
layer, instead of a geom_bar()
or geom_col()
layer). Hopefully you can adapt some of the very clear examples at mara's link to do what you want!