Zipf's law states that in a given text, the frequency of any word is inversely proportional to its rank in the frequency table. In other words, the most frequent word appears approximately twice as often as the second most frequent word, three times as often as the third most frequent word, and so on.
This visualization demonstrates Zipf's law using different text samples. The x-axis shows the word rank (1 being the most frequent word), and the y-axis shows the word frequency. In a perfect Zipf distribution, the points would fall along a straight line on a log-log scale.