Hertzsprung–Russell diagram
The horizontal axis shows the surface temperature of the stars. However, the temperatures go down, not up, as you move to the right. That is, the left of the diagram contains stars with the highest temperature plots (greater than 30,000 Kelvins) while the right shows stars with temperatures of only 3000K.