Which factor contributed to the urbanization of the United States during the first half of the 20th century?

the growth of the labor movement

the rise of the nativist movement

the migration of African Americans to the North and West

the transition from an agricultural to an industrial economy