Create a histogram of all values in a dataset, sorted into `n` bins.
Create a histogram of all values in a dataset, sorted into
nbins.