virginia_education = education.get_state('Virginia')
enrollment = virginia_education['enrollment']
students = enrollment['students']
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')
Построение гистограммы или графика рассеяния с помощью matplotlib