Afrobarometer has just published changes in perceived influence of the United States and China in 27 African countries from 2019 until 2022.
The US experienced an average decline of 11 percent in the 27 countries while China had an average decline of 10 percent. (Click charts to enlarge.)
The US posted a positive influence percentage only in Sierra Leone and Mauritius while China had positive numbers in Cameroon, Sierra Leone, Angola, Liberia, and Namibia. Both the United States and China experienced the sharpest drop in Morocco and Botswana.