I am new to R and ggplot. I have a set of large numbers and it seems that ggplot can't display it properly either with geom_bar() or geom_line(). Or maybe I missed a few parameters that can adjust the scale of the plot. Please point it out. Thank you!
For bar chart:
Command:
ggplot(income_exercise, aes(x= 'income2')) + geom_bar()
Data:
Problematic plot:
For line chart:
command:
ggplot(income_exercise, aes(x= 'income2', y="cat_count")) + geom_line()
problematic chart: