Skip to main content

I am trying to construct a visualization of our system's active users over time. We arbitrarily define an active user as one that has made a logged within the last 7 days. Our source data for the visualization is a table containing the user and purchase dates like the table below.

 

userlogin datebob7/4/2015alice7/3/2015steve7/3/2015roy7/2/2015steve7/2/2015bill7/1/2015bob6/30/2015mark6/29/2015alice6/23/2015cory6/22/2015

 

What I would like to see is a line graph with the date on the x axis.

Manually calculating the values off the table above would give the following.

 

DateActive User Count

7/4

67/36

7/2

57/136/3026/2926/2826/2726/2626/2526/2426/2326/2216/210

 

I have tried a number of things and can not seem to get the values that fit our definitions. The moving sum, on a cntd(User) counts distinct users in a single day, but does not count the distinct across days.

 

Thanks in advance for  your help.

10 answers
0/9000