Which two characteristics are used to classify stars on the Hertzsprung-Russell diagram?

A. size and density
B. density and composition
C. composition and temperature
D. temperature and absolute brightness
Does anyone know this answer?