python dataframe plot bar y is count code example Example: plot value counta data['title'].value_counts()[:20].plot(kind='barh')