The graph illustrates the gross domestic product (GDP) of the United States from 1938 to 1945. A country's gross domestic product represents the total value of all goods and services produced in a country during the year indicated. The United States' GDP growth illustrated on the graph resulted from

A.
enhanced government spending on social welfare programs during the Great Depression.

B.
continual military spending as a result of competition with the Soviet Union after World War II.

C.
the precedent of permanently expansive defense spending after World War I.

D.
the mobilization of American industries in support of the war effort during World War II.

D. the mobilization of American industries in support of the war effort during World War II.