From the information on the pie chart, the proportion of students that participated in dances is 20 out of 100.
Then, if we represent this in a bar chart where 100% is 10 squares, the proportion of students that participated in dances should be represented by:
[tex]\begin{gathered} 100\%\longrightarrow10\text{ squares} \\ \frac{20}{100}\cdot100\%=20\%\longrightarrow\frac{20\%}{100\%}\cdot10=2\text{ squares} \end{gathered}[/tex]Answer: 2 shaded squares out of 10 squares