# How to normalize histogram height to unity?

When doing Histogram[data], I get the total number of counts in each bin. Doing Histogram[data, Automatic, "Probability"] normalizes the area to unity, so typically the height of the histogram will be $<1$. Similarly, Histogram[data, Automatic, "PDF"] won't have unit height.

So, how to make a histogram have normalized height?

• The answer below directly answers your question but I'm curious as to why you'd want to do this as this is not a good way to compare different histograms. – JimB Nov 16 '15 at 16:27
• @JimBaldwin I want to emphasize the shape of a histogram, and the height is irrelevant for this. And having one histogram two or five times lower than another makes it not so clear. – corey979 Nov 23 '15 at 14:18
• Thanks for responding. This might cross over the line and be more appropriate for a "chat" but I'd argue that comparing histograms appropriately is on an "equal area" basis rather than an "equal height" basis. If it is a single histogram then, minimizing the white space with a scale where the tallest bar is at the top of the figure is definitely the way to go. But not for comparing histograms (or smoothed histograms). – JimB Nov 23 '15 at 15:44

Histogram[RandomReal[NormalDistribution[], 1000], Automatic, #2/Max@#2 &]