A histogram is suitable for interval or ratio data, where the horizontal axis represents data X and the vertical axis represents frequency f. The distribution of frequency is represented by the histogram between the data. The height of the histogram represents frequencies, and the width represents the exact interval.