@extends('layouts.state') @section('title', 'Event Analytics') @section('content')

Event Analytics

Comprehensive event metrics and participation data for the state

Total Events

{{ $eventStats['total'] ?? '0' }}

All Time
Active Events

{{ $eventStats['active'] ?? '0' }}

Ongoing
Upcoming

{{ $eventStats['upcoming'] ?? '0' }}

Scheduled
Total Participants

{{ $eventStats['totalParticipants'] ?? '0' }}

All Events
Event Participation Trends
Event Type Distribution
Event Status Overview
Monthly Event Count
Top Performing Events
@if(isset($topEvents) && count($topEvents) > 0) @foreach($topEvents as $event) @endforeach @else @endif
Event Name Type Date Participants Status Actions
{{ $event->name }}
{{ $event->location ?? 'TBD' }}
{{ ucfirst($event->type ?? 'Tournament') }} {{ $event->event_date ? $event->event_date->format('M d, Y') : 'TBD' }} {{ $event->participants_count ?? 0 }} Participants @if($event->status == 'active') Active @elseif($event->status == 'upcoming') Upcoming @elseif($event->status == 'completed') Completed @else Draft @endif
No event data available
@endsection @push('scripts') @endpush