The global consultants found that the more tied-in a country is to the rest of the world, the better its economy fares. Being connected doesn’t stop at trade and finances. It’s also about people — primarily the number of immigrants a nation has — and the amount of data streaming across a country’s borders. Putting it all together, the McKinsey Global Institute ranked 139 countries by how linked they are to the rest of the world. At the top is the tiny island state of Singapore, which has successfully made itself into a regional center in Asia, and the Netherlands, one of Europe’s main digital hubs.