Chris Zerhusen
This application provides users with an interactive example of the effect of histogram bin size on the overall shape of a plot.
Choosing a bin size is an important component of making useful histograms.
Being able to quickly and easily experiment with this feature allows users to better understand the importance and power of this aspect of their plots.
data("airquality");library(ggplot2)
g <- ggplot(data=airquality)
g + geom_histogram(aes(Temp), color="black", fill="steelblue",
binwidth=41/10) + ggtitle("Air Temperature in New York")
This app is ready to use at: