Gist af6ed0a95b476ea7f82b0576a93a2306
✓ Published0🌍 Public
AArizonaTay
Last edited Dec 29, 2021
Created on Dec 29, 2021
This visualization displays the 30 most common words from a dataset of cleaned captions, using a frequency distribution to show which terms appear most often. The code filters out common exclusions like "1," "2," and "3" before processing, then relies on the Natural Language Toolkit’s `FreqDist` to count word occurrences. A bar chart is generated with `matplotlib.pyplot`, where the horizontal axis lists the top words and the vertical axis shows their raw frequencies. The plot is sized at 14 by 6 inches for readability, and the resulting figure is displayed directly via `plt.show()`, with the source being an internal data frame of cleaned captions.
AI-generated description