The US is a nation of immigrants.

Using data from the US Census Bureau, we found the country that was the most common birthplace for foreign-born residents in each state (excluding Mexico, which was the most common country of birth for immigrants in 32 states).

Many states have large immigrant populations from India.

Visit BusinessInsider.com for more stories.

The US is a nation of immigrants from all around the world.

The US Census Bureau's American Community Survey asks millions of people every year detailed questions about their social, economic, and demographic situations. One of the questions asks respondents what their country of birth is. The Census Bureau pooled together survey responses from between 2013 and 2017, allowing the bureau's statisticians to publish estimates of how many people in the foreign-born populations of each state and the District of Columbia came from various countries.

The percentage of the population born outside the US varies widely from state to state. Among those immigrant populations, countries of origin also vary widely.

For 32 states, the most common country of birth among respondents who said they were born outside the US was Mexico. Therefore, the map above looks at the country other than Mexico that is the birthplace of the most foreign-born respondents in the survey.

India tops that list in 21 states. Several states have Canada as a major source of immigrants. Several Asian, African, and Central American countries also have large immigrant populations in various states.