The way that the source determines diversity (and "ethnicity")... really just favors countries that are poorly integrated... where many different populations live isolated from one another and maybe don't share a common language or other cultural artifacts due to this fact. Naturally... if your country has no roads, airports or telephones, that would get you ranked highly using such methodology.
If you looked at, for example, the number of different countries/continents with significant representation in more than one large city... probably not a single country in Africa would make such a list. Possibly excepting South Africa, Egypt, or Morocco.
This doesn't speak for the actual methodology used, or this quiz, since ethnicity is more about culture than genetics (the same reason race and ethnicity are separate on the US Census - an Afrocarribean Puerto Rican is just as Latino as a white Argentinian), but whichever way you look at it, biologically or ethnically, it holds up. The only way it doesn't make sense is through the lens of the outdated concept of race. You're right, though - isolation between tribes is what makes this definition favor African countries in terms of diversity.
If you looked at, for example, the number of different countries/continents with significant representation in more than one large city... probably not a single country in Africa would make such a list. Possibly excepting South Africa, Egypt, or Morocco.
https://www.businessinsider.com/four-neighboring-african-tribes-are-more-genetically-different-than-ronald-reagan-and-mao-zedong-2014-2
This doesn't speak for the actual methodology used, or this quiz, since ethnicity is more about culture than genetics (the same reason race and ethnicity are separate on the US Census - an Afrocarribean Puerto Rican is just as Latino as a white Argentinian), but whichever way you look at it, biologically or ethnically, it holds up. The only way it doesn't make sense is through the lens of the outdated concept of race. You're right, though - isolation between tribes is what makes this definition favor African countries in terms of diversity.