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 1 year estimate for martial status. 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.
What is the martial status of people living in each state? #dataviz https://t.co/KuYbcb0oCu pic.twitter.com/46k5qb1TQ1
— Overflow Data (@overflow_data) February 11, 2018