The population figures are directly from the United Nations (Population Prospects, 2024)
The racial distribution is mostly from official statistics, supplemented with reliable estimates where stats aren't available (this mostly applies to other maps though, Africa is a fairly racially homogenous continent).