The top ten countries with the most Foreign Direct Investment(FDI) in 2017 are shown in the chart below:
Click to enlarge
Source: Countries With Most FDI In 2018, Global Finance
The US was the top ranked country for FDI with a total amount of $311 billion. China came in second with inflows of $144 billion.
The majority of the countries in the above list are developed countries with the exception of China, Brazil and India.