Each level should have two rarity stats. A global one, including all non-private Valolink accounts and a friends one, which only includes friend accounts.
The stats are calculated by getting the number of accounts that have unlocked the level and dividing it by the number of all accounts. The result is the percentage of accounts that have unlocked the level. The progress bar shown should display the inverted percentage (The more the progress bar is filled, the rarer the level is)
nUnlocked / nTotal = rarity
displayedRarity = 1 - rarity
Each level should have two rarity stats. A global one, including all non-private Valolink accounts and a friends one, which only includes friend accounts.
The stats are calculated by getting the number of accounts that have unlocked the level and dividing it by the number of all accounts. The result is the percentage of accounts that have unlocked the level. The progress bar shown should display the inverted percentage (The more the progress bar is filled, the rarer the level is)