Visualization Approaches
Two complementary tools help build intuition for expected value:
Weighted Expected Value Visualizer shows probability as physical "weights" that pull the expected value along a number line. Preset distributions like "Pull Right," "Pull Left," and "Pull Center" demonstrate how probability concentration affects E[X]. An animation mode cycles through distributions automatically.
Discrete Expected Value Visualization displays a bar chart of the probability mass function with adjustable sliders. Each bar shows P(X = x), and the contribution x · P(X = x) appears inside each bar. The red dashed line marks E[X], moving as you adjust probabilities.
Both tools normalize probabilities automatically, ensuring they sum to 1. This lets you focus on relative probability weights without worrying about the constraint.