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

size and density
density and composition
composition and temperature
temperature and absolute brightness

1 answer

temperature and absolute brightness