### Open Source Your Knowledge, Become a Contributor

The function hist(x, n) creates a histogram of the data in x using n bins: