Top contributors sidebar doesn't appear for anonymous users

Does it appear empty like this?

If so, you may need to go to admin → settings and enable enable user directory — it can’t access user data without this setting also being enabled.