Skip to content

Build Interactive Earnings Charts (Recharts) #439

Description

@Luluameh
  • Difficulty: Medium
  • Labels: feature, dashboard, charts

Description

The Expert Earnings page (src/app/dashboard/earnings/page.tsx) needs rich visual analytics. We want to implement interactive bar and line charts showing earnings over time (daily, weekly, monthly) using recharts.

Technical Scope & Steps

  1. Open src/components/dashboard/EarningsChart.tsx (or equivalent).
  2. Integrate recharts to render a responsive Area/Line chart for earning trends and a Bar chart representing session counts per category.
  3. Add a time filter toggle (7 days, 30 days, Year-to-Date).
  4. Add tooltips showing exact payout numbers when hovering over chart nodes.

Acceptance Criteria

  • Charts are fully responsive and adapt to mobile viewports.
  • Tooltips display correct currency formatting.
  • Toggle controls successfully update chart datasets.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardThird CampaignCampaign: Third Campaign

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions