df.groupby('year').case_status.value_counts().unstack(0).plot.barh()
sb.countplot(data=fuel_econ, x='VClass', hue='trans_type')
pd.crosstab(fuel_econ['VClass'], fuel_econ['trans_type']).plot.bar()
plt.xticks(rotation=15)
plt.ylabel('count')
plt.title("Using Pandas' plot backend")
plt.show()
df.groupby(['tags_0', 'gender']).gender.count().unstack().plot(kind='barh', legend=False, color=['r', 'g', 'b'])
df.groupby('year').case_status.value_counts().unstack().plot.barh()
data_1.groupby('Manufactorer')['Manufactorer'].count()
data_1.groupby('Manufactorer')['Manufactorer'].count().sort_values(ascending = False)
data_1.groupby('Manufactorer')['Manufactorer'].count().sort_values(ascending = False).plot(kind = 'bar')