The expected value is the weighted average of all possible values, where each value is weighted by its probability. The red dashed line shows where the expected value falls on the x-axis.
Each bar shows the probability of that outcome, and the number inside shows that value's contribution to the expected value (x · P(X = x)).