Watch how the running mean converges to the expected value E[X] as you roll the die. Adjust the probability distribution to create a biased die and observe how it affects the expectation.
Running mean convergence (left) and probability distribution (right)