The correct statement is: "The Hertzsprung-Russell diagram plots stars according to their luminosity and temperature, which is also associated with spectral class."
This statement accurately describes how the H-R diagram is used to categorize and compare stars based on their intrinsic brightness (luminosity) and surface temperature.