Page MenuHomePhabricator

Create Trend Graph for Content Interactions
Closed, ResolvedPublic

Description

The current visual we use for Content Interactions metric has too much going on with comparisons to 2019 and the data loss correction https://github.com/wikimedia-research/Readers-movement-metrics/blob/main/04-Visualization_modified.ipynb

We would like to make a trend line chart for CI which looks something like this -

image.png (874×1 px, 246 KB)

Event Timeline

mpopov triaged this task as High priority.Aug 16 2022, 5:10 PM
mpopov moved this task from Next 2 weeks to Doing on the Product-Analytics (Kanban) board.

chart.png (1×3 px, 377 KB)

Code: https://gitlab.wikimedia.org/bearloga/dataviz-content-interactions

@Mayakp.wiki: The scripts use the |> pipe operator available in R 4.1.0 and later. If using older versions of R (e.g. on stat boxes) you would need to change all instances of |> to %>% (which is available as part of loading tidyverse)

Thanks @mpopov !
I made a few changes to the title, as discussed on Slack. I will reach out if I have any other questions.