tournesol-app / tournesol

Free and open source code of the https://tournesol.app platform. Meet the community on Discord https://discord.gg/WvcSG55Bf3
https://tournesol.app
Other
331 stars 48 forks source link

[dataviz] feat: add graph Active contributors grouped by age #1991

Closed NatNgs closed 4 months ago

NatNgs commented 5 months ago

related issues #1726


Add user-growth plot in Tournesol's streamlit app

Added a new plot in Streamlit, displaying the number of contributors, new users and active users in one line plot.

"Active" users are defined as having done at least one comparison on the week or before, and having done at least one comparison on the week or after.

Preview

Checklist

❤️ Thank you for your contribution!

NatNgs commented 4 months ago

Updated graph after comments on discord; updated graph now look like this:

image

GresilleSiffle commented 4 months ago

Hi @NatNgs

The new graph is really cool :ok_hand:

I ran black -l 99 on the file to make it more readable, and updated some comments and texts to make them more explicit:

The colours and the groups look good to me for now. Let's check with the rest of the team.

Also not sure about how I labelled it ("Age of community", "First comparison date = last comparison date")

I haven't updated "First comparison date = last comparison date" yet, but I'll think about it.

capture