@extends('layouts.super-admin') @section('title', 'Analytics') @section('page-title', 'Analytics Dashboard') @section('page-description', 'Data analytics dan statistik gempa') @section('content')
{{ number_format($earthquakeStats['total']) }}
Total Earthquakes
{{ number_format($earthquakeStats['avg_magnitude'], 1) }}
Average Magnitude
{{ number_format($earthquakeStats['max_magnitude'], 1) }}
Highest Magnitude
{{ number_format($earthquakeStats['last_30d']) }}
Last 30 Days

Earthquake Trend (12 Months)

Top 10 Locations by Earthquake Frequency

@foreach($topLocations as $loc) @endforeach
LocationTotal Earthquakes% of Total
{{ $loc->lokasi }} {{ number_format($loc->total) }} {{ round(($loc->total / max($earthquakeStats['total'], 1)) * 100, 1) }}%
@endsection