Why the median survives what the mean doesn't

Mean vs Median: Drag an Outlier

Twelve pencil-fragment lengths (mm). Drag the highlighted point to make it a bigger or smaller outlier, and watch the mean chase it while the median barely moves.

Drag the copper point

All eleven other points stay fixed. Only this one moves

Mean Median

Drag the large copper dot left and right along the axis.