I'm trying to measure a specific user behaviour of users of every day after they sign up to a given service.
This is an example of a table I'd like to create
Where the date (x axis) is the day the user joined and the days after joining is user.created_at + x days
.
The values are the % of the users of that cohort who undertook a specific action on x days after they signed up.
Is there a way to generate this purely with Postgresql?