chart takes 10 names, and 2 variables from each one from the db and plots