pandas value_counts matplotlib code example Example: plot value counta data['title'].value_counts()[:20].plot(kind='barh')