I have gone with the method of riding the bars that came with the bike and seeing how I get on.
Had a long stem and narrow bars, didn’t like that, so swapped for 60mm stem and 780mm low rise bars.
Next bike had higher rise 760mm bars and 60mm stem, but was 650b rather than 29″ so the front end was low enough and I left them on.
Newest bike has 740mm bars and 50mm stem, only ridden it twice, but I didn’t die, and quite liked not getting stuck between tress.
TL;DR version – try some, that are the right price and look nice, only swap if you don’t get on with them?