📊Probability Distribution Visualizer

Enter distribution parameters to visualize normal, uniform, or binomial distributions

How to Use the Probability Distribution Visualizer

The Probability Distribution Visualizer renders a bar-chart representation of three fundamental probability distributions: normal, uniform, and binomial. Enter the distribution parameters and the chart updates immediately — no external library or software needed.

For the normal distribution, adjust mean (μ) and standard deviation (σ) to see how the bell curve shifts and scales. For the uniform distribution, set the min/max range to see a flat distribution. For the binomial distribution, set the number of trials (n, up to 50) and success probability (p) to see the PMF. Useful for statistics courses, data analysis, and building intuition about how probability parameters affect distribution shape.

Frequently Asked Questions

How does changing σ affect the normal distribution?

A larger σ spreads the curve wider and flatter. A smaller σ concentrates values near the mean, creating a taller, narrower peak. The area under the curve always equals 1.

What is the maximum n for the binomial distribution?

n is capped at 50 to maintain calculation accuracy. For larger n, the normal approximation (μ=np, σ²=np(1−p)) is typically used instead.

Why are all bars equal height in a uniform distribution?

A uniform distribution assigns equal probability density (PDF = 1/(b−a)) to every value in the range, so every bar has the same height by definition.