A sample of n = 30 points is drawn from a true Normal distribution, N(μ, σ²), where σ is assumed known. For any candidate guess μ̂, the curve below is the Normal density N(μ̂, σ²); the dots sitting on it mark the density of each sample point under that guess. The likelihood L(μ̂) = Π f(xᵢ; μ̂, σ) is the product of all of those heights, and the log-likelihood ℓ(μ̂) = Σ log f(xᵢ; μ̂, σ) is their sum of logs. Drag the red handle above the curve (or use the μ̂ slider) to try different guesses, and watch where that guess lands on the L(μ) and ℓ(μ) curves below — both are maximized at exactly the same μ̂, the sample mean x̄, which is the MLE.
Keyboard and screen reader users: the μ̂ slider is the primary control, operable with the arrow keys once focused. The handle on the top panel can also be dragged with a mouse, but this is a supplementary view; all information is available through the slider and the stats line below the panels.