This is a simple implementation of Zipf's Law on javascript and html. There are two options:
- total population: use the total population and the number of positions in the ranking to calculate the population of the individual elements.
- population of specific position: use the population of a specific position combined with the number of positions to calculate the population of the individual elements.
It's important to notice that this implementation assumess an ideal scenario, in the real world, this is a extremly rare occurrence, please, take this implementation as simplified tool for easy use.