"added code for the bar chart in the teacher summary"