Skip to content

## FRONTEND: Build Organizer Analytics Chart on Dashboard #786

@OSEH-svg

Description

@OSEH-svg

Description
The organizer dashboard has no visual summary of ticket sales or revenue. Add a simple bar chart showing tickets sold per event using the existing Recharts library.

Tasks

  • Add a SalesChart component at apps/web/components/dashboard/sales-chart.tsx.
  • Fetch data from GET /api/v1/events/:id/revenue for each hosted event.
  • Render a BarChart from recharts with event titles on the X-axis and tickets sold on the Y-axis.
  • Display a loading skeleton while data is fetching.
    Acceptance Criteria
  • Chart renders correctly with real data on the dashboard.
  • Skeleton is shown during the loading state.
  • Chart is responsive and does not overflow on mobile.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions