As a first step we are going to find the range, range is the difference between the least number and the greatst number in the set.
[tex]\begin{gathered} \text{Range}=18-1=17 \\ \end{gathered}[/tex]Now, calculate an approximate group size, by dividing the range by how many groups you would like.
Let's say we want 5 groups.
[tex]\begin{gathered} \frac{17}{5}=3.4 \\ \text{Rounding up to 4} \end{gathered}[/tex]The, we can pick a starting value, in our case we can start with a value of 0, then the groups would be: 0,4,8,12,16
Now, we can make the frecuency table:
To make an histogram of this data, we are going to put on the vertical axis, the frecuencies and on the horizontal-axis the intervals, and draw a bar extending from the lower value of each interval to the lower value of the next interval, like this: