Add a trend indicator to single stats
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Problem to solve
Data without a comparison is not useful. It's nice to know we've had 1,000,000 users visit the site this week but if we usually have 25,000,000 it's a problem. The current single stats don't tell that story.
Proposal
The single stat visualization type should have some way(s) to compare the current value to another value and show how it's different.
Some ideas/use cases in no particular order.
- Show the absolute/percentage difference compared to the previous timeframe.
- If showing 1 week of data say from the 8th to 14th the comparison would be from the 1st to the 7th and show the absolute difference and/or percentage difference.
- Show the absolute/percentage difference vs. a set value
- Users set 7 day average, compare to that for 7 day views.
- Show the absolute/percentage difference vs. a calculated average over some period of time.
- Calculate the average value for the statistic for the previous month, 3 months, etc. and show the absolute and percentage difference for the current timeframe compared.
Edited by 🤖 GitLab Bot 🤖