Home▸AI & Machine Learning▸EWMA Control Chart: Drift Detection, Run Length and Alarm Delay

EWMA Control Chart: Drift Detection, Run Length and Alarm Delay

EWMA Control Chart: Drift Detection, Run Length and Alarm Delay

AI & Machine Learning2DModerate60 FPS📱 Mobile-adapted🟠 Blender⇄ 3D version
EWMA Control Chart: Drift Detection, Run Length and Alarm Delay ↗ Open standalone

Real-time analytics means computing meaningful statistics on data that never stops arriving, without ever looking back at the whole history. This simulation drives five synthetic telemetry streams — CPU load, requests/sec, latency, error rate and memory — through a live exponentially weighted moving average and z-score control chart, the same incremental math behind production observability and statistical-process-control alerting. Each incoming event updates its stream's EWMA and variance in constant time, a bar rises and falls with the smoothed level, and a scrolling trail of raw samples behind it is colored by how many standard deviations from baseline it landed. Tune the ingest rate, the smoothing factor α, and the alert threshold, or inject a manual spike, and watch how quickly — and how noisily — the detector reacts.

⚙ Under the hood

EWMA Control Chart: Drift Detection, Run Length and Alarm Delay

EWMAControl ChartStatistical Process ControlAnomaly DetectionAverage Run Length

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)