Guardian Portal

Performance Analytics

The Guardian Performance Analytics page provides an at-a-glance view of the selected child's academic performance. It combines key metrics with a subject-wise breakdown to help guardians identify strengths and areas needing improvement.

Key Performance Metrics

Three metric cards are displayed at the top of the analytics page, giving guardians a quick summary of overall performance.

FieldRequiredTypeDescription

Average Score

Required

percentage

The child's average score across all completed exams. Displayed as a large number with a trophy icon.

Total Exams

Required

number

Total number of exams the child has attempted.

Study Time

Required

hours

Total study hours tracked across all exam attempts. Calculated from time spent on each exam.

Subject-Wise Breakdown

Below the key metrics, a detailed subject breakdown shows performance per subject using horizontal progress bars with color coding. This helps guardians quickly identify which subjects their child excels in and which need attention.

FieldRequiredTypeDescription

Subject

Required

text

The subject name (e.g., Mathematics, Science, English).

Average Score

Required

percentage

Average score for the subject. Shown as a progress bar: green for 70%+, yellow for 50–69%, red below 50%.

Score Color Thresholds

  • Green (70%+) — Strong performance, meeting or exceeding expectations
  • Yellow (50–69%) — Average performance, may benefit from additional practice
  • Red (below 50%) — Below expectations, needs focused attention

How Data Is Calculated

Performance data is fetched using guardianApi.getDashboardStats(childId). The response includes the aggregate average score, total exams count, total study hours, and an array of subject performance entries. Each subject entry contains the subject name and its average score.

Empty States

If no exam data is available yet (the child has not taken any exams), the subject breakdown section displays a "No data available" message. The metric cards show default values of 0 or a dash (—) for the average score.