Visualizes the hypothesis testing pipeline: competing statements (H0 vs Ha), a sample producing an observed test statistic z_obs, the null distribution of the statistic under H0, the p-value as the right-tail probability beyond z_obs, and the decision rule comparing p to a pre-specified significance level α (reject H0 when p ≤ α).
Pure Canvas 2D. Uses a 4-stage time cycle (~4.2s) with easing to sequentially reveal sample -> statistic -> p-value shading -> decision. Null distribution is drawn as blocky vertical bars from a standard normal PDF; p-value uses a self-contained normal CDF via an erf approximation. All geometry is grid-snapped for a retro block aesthetic and scaled with scale = min(w,h)/240.