Bar chart successfully made, but with improper data format.