Make a Histogram
You can use Histogram to generate a histogram of a dataset on a probability density scale.
Generate a sample dataset from the gamma distribution with RandomVariate and construct the histogram:
You can use Histogram to generate a histogram of a dataset on a probability density scale.