I have a problem when using this code: I wanted to plot alcohol intake regarding age group, and subgroup is…