Interactive DAG for loss = (w·x − y)². Drag the w slider; watch values and gradients update live. Enable Animate Backprop to see the gradient flow direction.
Hover any node for details. Drag w toward 1.5 to minimise loss. At w = 1.5, w·x = 1.5·2 = 3 = y, so loss = 0.