A modern, responsive web dashboard for visualizing anomaly detection performance metrics across various KPIs (Key Performance Indicators). Built with React, TypeScript, and Tailwind CSS.
- Interactive Metrics Visualization: Beautiful cards displaying precision, recall, and F1-scores for each KPI
- Real-time Search & Filtering: Search through KPIs and sort by different metrics
- Performance Analytics: Summary statistics and comparative charts
- Responsive Design: Works seamlessly across desktop, tablet, and mobile devices
- Modern UI: Clean, professional interface with smooth animations and transitions
- Preview Project Link:- https://stackblitz.com/~/github.com/ChirayushSingh/Anomaly-Detection-Metrics
The dashboard analyzes the following telecommunications KPIs:
- Cell Availability
- Average ENDC User DL Throughput
- Total Traffic Volume
- DL RBSym Utilization
- DL BLER (Block Error Rate)
- Active Users
- RRC Connected Users
- DL Latency
- Average CQI
- Path Loss
- UL RSSI
- Various QAM metrics (256QAM, 64QAM, 16QAM, QPSK)
- MIMO Utilization
- Frontend: React 18 with TypeScript
- Styling: Tailwind CSS
- Icons: Lucide React
- Build Tool: Vite
- Data Format: CSV parsing for metrics data
src/
├── components/
│ ├── MetricsCard.tsx # Individual KPI metric cards
│ ├── SummaryStats.tsx # Overall statistics summary
│ ├── MetricsChart.tsx # Performance comparison charts
│ └── SearchFilter.tsx # Search and sorting controls
├── hooks/
│ └── useMetricsData.ts # Data fetching and management
├── utils/
│ └── metricsCalculations.ts # Statistical calculations
└── App.tsx # Main application component
- Node.js (version 16 or higher)
- npm or yarn package manager
- Clone the repository:
git clone <your-repository-url>
cd anomaly-detection-dashboard
- Install dependencies:
npm install
-
Place your metrics data:
- Ensure your
Anomaly_Detection_Metrics.csv
file is in thepublic/data/
directory - The CSV should have columns: KPI, Precision, Recall, F1-Score
- Ensure your
-
Start the development server:
npm run dev
- Open your browser and navigate to
http://localhost:5173
The dashboard expects a CSV file with the following structure:
KPI,Precision,Recall,F1-Score
Cell Availability,0.9258,0.6715,0.7784
Average ENDC User DL Throughpu(Mbps),0.5784,0.6783,0.6244
...
- Modify
tailwind.config.js
to customize the color scheme - Update component styles in individual
.tsx
files - Add custom CSS in
src/index.css
- Update the data parsing logic in
useMetricsData.ts
- Modify calculation functions in
metricsCalculations.ts
- Customize the display format in component files
The dashboard is fully responsive and optimized for:
- Desktop (1024px+)
- Tablet (768px - 1023px)
- Mobile (320px - 767px)
npm run dev
- Start development servernpm run build
- Build for productionnpm run preview
- Preview production buildnpm run lint
- Run ESLint
The dashboard calculates and displays:
- Precision: True positives / (True positives + False positives)
- Recall: True positives / (True positives + False negatives)
- F1-Score: Harmonic mean of precision and recall
- Summary Statistics: Averages across all KPIs
- Rankings: Performance-based KPI rankings
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Built with modern React patterns and TypeScript
- Styled with Tailwind CSS for rapid development
- Icons provided by Lucide React
- Optimized for performance and accessibility
For questions or support, please open an issue in the GitHub repository or contact the development team.
🎨 Preview Project Link :- https://stackblitz.com/~/github.com/ChirayushSingh/Anomaly-Detection-Metrics
Note: This dashboard is designed for telecommunications anomaly detection metrics but can be easily adapted for other domains by modifying the data structure and KPI definitions.