Where I tried to generate a nice bar chart, I came across to the following post. It provides all the information I need. Very nice work!

http://www.sthda.com/english/wiki/ggplot2-barplots-quick-start-guide-r-software-and-data-visualization

R Graphics Cookbook also provides a lot of good examples. Some may be a little bit obsolete. When you directly apply the example, error messages show up. But it is still a good book.

Share