The Texas sharpshooter fallacy is an informal fallacy in which unrelated pieces of information are compared and similarities are used, to claim the existence of a pattern which may not exist. The origin of the term “Texas Sharpshooter Fallacy” comes from a joke about a Texan who shoots his gun at the wall of a barn. Only after shooting does he walk up and paint a target so that the center is made up of the holes from his bullets. After doing this he claims to be a sharpshooter.
Source:
Carroll, Robert Todd (2003). The Skeptic’s Dictionary: a collection of strange beliefs, amusing deceptions, and dangerous delusions. John Wiley & Sons. p. 375. ISBN 0471272426.