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()