HIGH story-personal-activity-statistics-peer-mentor-003 5 pts
5
Story Points
High
Priority
Personal Activity Statistics
Feature

User Story

As a Peer Mentor (Likeperson)
I want to see a visual chart of my activity trends over the selected time period, with the option to switch between a bar chart and a line chart
So that So that I can quickly see at a glance whether my volunteering activity is increasing, decreasing, or staying consistent over time

Acceptance Criteria

  • Given I am on the Statistics Dashboard Screen, when the chart loads, then I see an Activity Chart Widget displaying my activity volume plotted over time for the selected period
  • Given the chart is displaying in bar mode, when I tap the chart type toggle, then the chart switches to line mode and vice versa
  • Given I have selected the 'week' date range, when the chart renders, then the x-axis shows individual days of the current week
  • Given I have selected the 'year' date range, when the chart renders, then the x-axis shows months of the current year
  • Given I am a user with a visual impairment, when I view the chart, then all colours used meet WCAG 2.2 AA contrast ratio requirements
  • Given my selected period has no activity data, when the chart loads, then I see a friendly empty state message rather than a broken or blank chart

Business Value

Visual trend charts make abstract numbers meaningful by showing momentum and patterns. Seeing an upward trend or a consistent streak is a powerful motivator for volunteers. This visual representation is a core component of the Spotify Wrapped-style engagement that NHF and HLF explicitly requested, and it supports the broader gamification roadmap.