Skip to content

Add group analytics with charts and graphs#139

Open
YPC0813 wants to merge 1 commit intosorosave-protocol:mainfrom
YPC0813:feature/group-analytics
Open

Add group analytics with charts and graphs#139
YPC0813 wants to merge 1 commit intosorosave-protocol:mainfrom
YPC0813:feature/group-analytics

Conversation

@YPC0813
Copy link
Copy Markdown

@YPC0813 YPC0813 commented Apr 18, 2026

Summary

Implements visual analytics for group contribution and payout history using recharts.

Changes

  • Add recharts dependency
  • Create GroupAnalytics.tsx component with 3 responsive charts:
    • Line chart: Contribution amount over time
    • Bar chart: Payout distribution by member
    • Pie chart: Member participation breakdown
  • Integrate analytics into group detail page

Acceptance Criteria

  • ✅ Add chart library (recharts)
  • ✅ Contribution amount over time line chart
  • ✅ Payout distribution bar chart
  • ✅ Member participation pie chart
  • ✅ Responsive charts that work on mobile

Test Plan

  1. Navigate to a group detail page
  2. View analytics section at bottom
  3. Verify all 3 charts render correctly
  4. Test responsive layout on mobile viewport

Closes #69

- Add recharts for data visualization
- Create GroupAnalytics.tsx component with:
  - Contribution amount over time (line chart)
  - Payout distribution (bar chart)
  - Member participation (pie chart)
- Integrate analytics into group detail page
- Responsive design for mobile support

Acceptance criteria met:
✅ Add chart library (recharts)
✅ Contribution amount over time line chart
✅ Payout distribution bar chart
✅ Member participation pie chart
✅ Responsive charts that work on mobile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add group analytics with charts and graphs

1 participant