In a recent survey conducted at a middle school, students were asked about their favorite snack. The results were represented in a bar graph where:
- 40 students preferred pizza.
- 25 students preferred nachos.
- 30 students liked cookies.
- 20 students chose chips.
- 15 students voted for fruit.
Based on the bar graph data, what percentage of the students preferred cookies as their favorite snack?