Answer is: temperature and absolute brightness.
The Hertzsprung–Russell diagram shows the relationship between the star's absolute luminosities (the total amount of energy emitted per unit of time by a star) versus their effective temperatures (the temperature of a black body that would emit the same total amount of electromagnetic radiation).
The Hertzsprung–Russell diagram puts each star on a graph according the star's brightness against its temperature.