I marathoned each pokemon generation, from gen 1 to gen 8, and recorded my pokemon team after each gym/trial and the hall of fame. Here are my results. (Original Idea from u/Zezin96) :
Legendary Pokémon - Bulbapedia, the community-driven Pokémon encyclopedia