I have a dataset of events and the age at when the event happens.
For illustrative reasons i would like to plot in a stacked bar chart - the percentages of participants that pr age unit have the event.
i have tried:
and that is wrong.
For illustrative reasons i would like to plot in a stacked bar chart - the percentages of participants that pr age unit have the event.
i have tried:
Code:
graph bar event years, over(group) percentages stack