China Mediterranean Observer recently posted "Examining New Data on Chinese Foreign Direct Investment across the Wider Mediterranean Region." It includes data from 2003 through 2022 for countries in the Middle East, Southern Europe, North Africa, and the Horn of Africa. The African countries are Algeria, Djibouti, Egypt, Eritrea, Ethiopia, Libya, Mali, Morocco, Mauritania, South Sudan, Sudan, and Tunisia.
From 2021 to 2022, Chinese investment in North Africa and the Horn of Africa declined by almost 7 percent. The decline in value probably occurred because of conflict in the region, especially in Sudan, Libya, and Ethiopia. Mali was one of the few countries in the region to experience an increase, apparently due to Chinese investment in lithium mines.