A quadratic function, f(x)=x^2, has been shifted 4 units to the right. Choose the equation that represents the transformation.

A. G(x)=x^2+4
B.g(x)=x^2-4
C. G(x)=(x-4)^2
D. G(x)=(x+4)^2