J
J
jonSina2020-07-23 17:19:21
Analytics
jonSina, 2020-07-23 17:19:21

Search for trending games by number of times played?

Hello, there is a list of games. And statistics on the number of times played per hour. If in some hour there were no played times for the game, then there is no record for this hour (not written with zero: { date: "2020-07-19 12:00", count: 0 } )
I need to display the top 10 trending games per day/week/month .
The question is where to look? what formulas to use?

[
 {
    gameId: 1,
    plays: [
      { date: "2020-07-19 10:00", count: 5 }, { date: "2020-07-19 13:00", count: 8 }
    ]
 }
]


For example, there is a top game that constantly collects about 1000 played times per hour, and there is a game that lived from 5 per hour for a week and then over the past two days, growth began, 150,180,220,500. This game should be more trendy than just popular.

If you don't understand the question ask questions :)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
xmoonlight, 2020-07-24
@xmoonlight

The question is where to look? what formulas to use?
y=kx+b
If you don't understand the answer, ask questions :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question