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