Just Dance 2022 is the better game overall.
2022: 40+ tracks with wider genre/artist variety. 2021: 41 tracks but less diverse.
2022: Significantly improved—more detailed character models, fluid animations, immersive backgrounds.
If you're a series fan or seeking a new dance game, Just Dance 2022 is highly recommended.