The data for this visualization comes from the American Community Survey which is conducted by the U.S. Census Bureau. I used the Census Bureau API to pull the 2016 5 year estimate for the percentage of the population that is foreign born. Once I had gathered the data, I used Tableau to create this visualization.
I have included the API code I used to pull the data below. You will need a free API key to access the data. You can find out more at the Census Bureau’s Developer Page.
If you want to keep up with our surveys and data analysis, be sure to follow us on Twitter and Facebook.
— Overflow Data (@overflow_data) February 24, 2018