Hi, I am trying to illustrate some data in which I want to show the number of deaths per month across 22 periods ranging from July 2018 to May 2020. What I want to do is to have separate lines for each year but having the identification on the x-axis only for name of the months, making the lines stocked above/bellow each other, going from Jan-Dec. Now I have the time period ranging from January 2018 to May 2020. Does anybody know how I can solve it??

My code:
gen Deaths_2018 = 1 if inrange(timeperiod, 201807, 201812)
gen Deaths_2019 = 1 if inrange(timeperiod, 201901, 201912)
gen Deaths_2020 = 1 if inrange(timeperiod, 202001, 202005)

twoway (line death_per_month Dates if Deaths_2018==1) (line death_per_month Dates if Deaths_2019==1) (line death_per_month Dates if Deaths_2020==1)

This is the result so far.
Array
Best
David