Simulates a coalescent history for 5 randomly-selected genes from among the 2*Ne genes in a random-mating population of size Ne. The MRCA is shown as a large, red-filled circle (if it is visible), but note that it will not be visible if it occurs at a time deeper than the 50 generations shown.

Use the drop-down control below the plot to change Ne The Refresh button regenerates the entire history (same as refreshing your browser except that Ne does not revert to its default value).

Keys that can be used:

Some experiments to try:


This applet makes use of the excellent d3js javascript library. Please see the GitHub site for details about licensing of other libraries that may have been used in the source code for this applet.


Creative Commons Attribution 4.0 International. License (CC BY 4.0). To view a copy of this license, visit or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.