Skip to content

How do filters in dashboard affect the charts?

The Dashboard filter bar and the Clear All button control which students and which time range are used for all summary cards and charts.


At the top of the Dashboard you have:

  • Period (single select): 7 days, 15 days, 1 Month, 2 Months, 3 Months, All, Today, Yesterday
  • Age (multi-select): 13–14 years, 15–16 years, 17–18 years
  • Grade (multi-select): grades from your school
  • Class (multi-select): classes/divisions from your school

Selected filters appear as chips below the filter bar. Use the X on a chip to remove that filter, or Clear All to remove all and refetch with no grade, age, or class restriction.


When you change a filter and the selection is applied, the Dashboard refetches analytics and updates everything in one go.

Filters that change the underlying data:

  • Period
    Sets the date range for all metrics and charts. For example, “7 days” uses the last 7 days; “1 Month” uses the last 30 days; “All” uses from 1 Jan 2024 to today.

  • Grade
    Restricts all data to students in the selected grade(s). If none is selected, all grades are included.

  • Age
    Restricts all data to students whose age falls in the selected range(s). If none is selected, all ages are included.

Class
You can select Class and it will trigger a refetch. The analytics backend currently uses only Period, Grade, and Age, so changing only Class does not change the results.


All of the following use the active Period and, when set, Grade and Age:

  1. Summary cards
    Total Students, Total Moods, Total Activities, Companion Interactions, Top Mood Triggers

  2. Mood Stats (bar chart)
    Count of each mood in the filtered period and student group

  3. Mood Distribution (pie chart)
    Same mood counts as Mood Stats, shown as proportions

  4. Students Interaction with AI (line chart)
    AI Companion sessions over time in the filtered period and student group

  5. Activity (stacked bar chart)
    How moods and activities are distributed in the filtered data

Each chart’s “Refreshed …” text updates after a successful fetch.


Last Updated: 2025-01-31