A class of 30 students was surveyed about their favorite school subject. The results were represented in the following bar graph:
Favorite Subjects
Mathematics: 10 students
Science: 8 students
English: 6 students
History: 4 students
Art: 2 students
Based on the data represented in the bar graph, what percentage of students chose Mathematics as their favorite subject?