Explain the ratings

Hi all, it's the time again to be wondering about the total number of entries :)

I see that the 2 winning games both landed on place 1 (one is jam and another is compo). So are the displayed ratings out of the respective category (1817 jam games and 721 compo games) or out of the total submissions (2538)?

Thanks for re-clarification everyone :)