The example below is for $10,000 initially invested (with no further contributions) over 20 years with annual gains of 10%.
(Please use a modern browser to see the interactive version of this visualization)