All 10 standardized mtcars predictors, fit by coordinate descent at every \(\lambda\) (computed live, warm-started along the grid). The top panels trace each coefficient \(\hat\beta_j\) as \(\lambda\) grows: ridge shrinks every coefficient smoothly and never to exactly zero; lasso sets coefficients exactly to zero one at a time until none are left. The bottom panel follows two chosen coefficients through \(\beta\)-space: the ridge trajectory bends smoothly toward the origin, while the lasso trajectory hits an axis and travels along it. Drag the \(\lambda\) slider to move the markers.