A bar chart displays values as rectangular bars, making word frequencies easy to compare. A Matplotlib function can plot the most frequent words from processed text. section 2.5.3
Plot the top 20 words
Sort a word-count dictionary by frequency, select the top n entries, and draw bars with word labels, rotated tick marks, axis labels, and a title. Running the program displays the top 20 words from a text file.








