Skip to content

Build category popularity chart widget (frontend) #573

Description

@phertyameen

Description

Build a horizontal bar chart ranking categories by unique users/puzzles solved, sourced from GET /analytics/categories/popularity.

Why this matters

Category popularity directly informs which puzzle categories need more content investment.

Files to touch

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

Acceptance Criteria

  • Bars are sorted descending by the selected metric
  • Widget supports toggling between unique users and puzzles solved

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