Logical fallacy
Texas sharpshooter fallacy
The speaker looks through data for an impressive cluster or pattern, chooses categories or boundaries after seeing it, and then presents the finding as if those criteria had been set in advance.
Examples
After seeing the scattered holes, I drew a target around the tightest cluster and announced I had aimed there.
I tried fifty time windows and drew a circle around the one that favored my plan, treating it as the window I meant to test all along.