HomeStatisticsChi-Square Test: Distribution & Category Rose (2D)

Chi-Square Test: Distribution & Category Rose (2D)

Interactive 2D chi-square goodness-of-fit simulator: a polar rose chart of observed vs expected category counts alongside the live chi-square sampling distribution curve, with the observed statistic, critical value and shaded p-value region drawn directly on the curve.

Statistics2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
2d-ds-topic-99 ↗ Open standalone

This is a 2D-native counterpart of the 3D chi-square bar simulator: a polar rose chart replaces the parallel bars — one petal per category, its length the observed count, a dashed ring the expected count under fairness, and an amber tick its contribution to χ² — and beneath it the actual chi-square sampling distribution curve is drawn and shaded to show exactly how extreme your rolled sample's statistic is relative to the α = 0.05 critical value. Pick a number of categories and a sample size, choose how "loaded" the true generator secretly is, then roll a random sample and watch both views update together with the same reject/fail-to-reject verdict used to test whether a die is fair, a survey matches an expected split, or an A/B test's category counts diverge from chance.

⚙ Under the hood

A 2D-native chi-square goodness-of-fit simulator: a polar rose chart shows observed vs expected category counts as petals with an amber contribution tick, while the live chi-square sampling distribution curve below shades the p-value tail and marks the critical value and observed statistic directly on the curve.

chi-squarehypothesis-testinggoodness-of-fitp-valuestatisticscategorical-datapolar-chart

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

What did you find?

Add reproduction steps (optional)