Key Features
Platform
React 18+ with WebSocket backend
Real-time Updates
Live data streaming via WebSockets
Interactive Charts
D3.js powered visualizations
Smart Alerts
Threshold-based notifications
KPI Widgets
Customizable metric cards
Export Reports
PDF, CSV, and Excel exports
Quick Start
Setup Example
Preview of StatPulse integration:
JavaScript
import { StatPulse } from 'stat-pulse';
const dashboard = new StatPulse({
apiKey: process.env.STATPULSE_KEY,
websocket: 'wss://api.yourapp.com/stats'
});
// Add a real-time metric
dashboard.addMetric({
id: 'active-users',
label: 'Active Users',
type: 'gauge',
threshold: { warning: 1000, critical: 5000 }
});
Widget Types
| Widget | Use Case | Features |
|---|---|---|
| Gauge | Single metrics | Thresholds, animations |
| Line Chart | Time series | Zoom, pan, tooltips |
| Heat Map | Distribution | Color scales, drill-down |
What's Included
- Real-time WebSocket updates
- D3.js interactive charts
- KPI widget builder
- Alert thresholds
- PDF/CSV export
- Custom dashboards
- Full source code access
- Lifetime updates
- Email support