Colleagues,
I'm working with the attached data* that I xtset in the following manner:
I would like generate an area chart with the year on x-axis and percentage of total population for each cohort on y-axis. I was looking on the net but couldn't find much guidance on generating area charts for panel data. Naturally, I will be grateful for any help/
* The data is publicly available and corresponds to ONS demographic projections and can be found on the ONS website.
I'm working with the attached data* that I xtset in the following manner:
Code:
import delimited sample.txt, delimiter(tab) clear encode cohort, gen(cohort_num) xtset cohort_num date
* The data is publicly available and corresponds to ONS demographic projections and can be found on the ONS website.
Comment