The data being used for the following histogram is generated with this code:
data <- purrr::map_df(1:20, ~data_frame(x = rnorm(n = 20, mean = ., sd = 0.1)))
It’s a bunch of normals spaced along a line from 0-20 in an effort to simulate digit preference in a measurement such as blood pressure.
Drag the slider below to change the histogram bin numbers.