In a box plot, the greatest value of the data is represented by the maximum data point, which is located at the rightmost end of the line. Based on the information provided, the box plot covers the range from 5 to 45. Therefore, the greatest value of the data represented by the box plot is 45.
So, the answer is:
45