Create a time interval for y axis

What is your dataset like? Is it in a time format? Can you provide a reproducible example?