Skip to content

Build retention curve chart widget (frontend) #574

Description

@phertyameen

Description

Build a line chart showing day-1/7/30 retention percentages across recent cohorts, sourced from GET /analytics/users/retention.

Why this matters

Retention is the clearest signal of whether onboarding and core gameplay loops are actually keeping players engaged.

Files to touch

  • frontend/src/components/analytics/RetentionCurveChart.tsx

Acceptance Criteria

  • Chart correctly plots multiple cohort lines on one axis
  • Tooltip shows exact cohort size and retained count on hover

Notes

This issue is part of the new analytics module effort (tracking, aggregation,
and reporting on player/game activity). Please keep new code inside
backend/src/analytics/ following the same module/controller/service/provider
layout used by existing modules (e.g. progress, streak, quests).

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions