Which statement accurately describes the outcome of independent assortment as shown in this animation?

A. Alleles associated with pea color and shape appear in a 3:1 ratio in the F2 offspring.
B. Alleles associated with pea color and shape appear in a 9:3:3:1 ratio in the F1 offspring.
C. Alleles associated with pea color and shape appear in a 9:3:3:1 ratio in the parental generation.
D. Alleles associated with pea color and shape appear in a 9:3:3:1 ratio in the F2 offspring.

D. Alleles associated with pea color and shape appear in a 9:3:3:1 ratio in the F2 offspring.