This function generates pie charts for categorical variables in the input data frame using plotly.
Pie plots offer a visual representation of the distribution of categorical variables,
making it easy to understand the frequency of each category. They are particularly
useful for exploring patterns, identifying dominant categories, and comparing the relative
frequencies of different levels within each variable.