In this R Tutorial, I've talked about how you can create histogram in R and enhance it using ggplot package. There are many cool features in ggplot package which you can use and make your chart very interactive for your end user. Also if you are interested in learning creating histogram in Shiny, then look at this video - https://www.youtube.com/watch?v=hb_XAIBzplE