I am trying to add a $ currency symbol to each number listed on my bar graph.
The numbers are displaying correctly at the top of the bars. How do I add a $ before each number?
I read the CSV file into R and they are unlabeled numbers. I used this code to get a $ on the Y axis, successfully:
'''scale_y_continuous(labels=scales::dollar_format())'''
I used this next code below to get the NUMBER on top of each bar. Where would I made an amendment to get the $ on the bar? Is it a new line of code or within the geom_text line below? Appreciate any help here, I am a rookie!
'''geom_text(aes(label = CareerEarnings), vjust = 1.5, colour = "white")+'''
For visual...these are my bars which are missing the dollar signs, I got the dollar signs on the far left for the Y axis and that's pictured here: