Plot of generation time of a visit per day

Can anyone explain me how to get a plot of generation time of a visit per day??

Thank you…