race = students['race']
x = list(range(len(race)))
label = []
y = []
for race, value in list(race.items()):
    label.append(race)
y.append(value)
plt.bar(x, y, color='indianred', tick_label=label, align='center')
plt.show()
Plotting histogram or scatter plot with matplotlib