The transformation that occurs when changing the equation from \( f(x) = -|x| \) to \( f(x) = -|x| + 4 \) is that the original function shifts vertically up four units.
This is because adding a constant (+4) to the function shifts the graph upward by that amount, while the rest of the function remains unchanged.