In a historic 5-4 ruling Friday morning, the Supreme Court decided that states do not have the right to ban same-sex marriage, legalizing gay marriage in all 50 states and the District of Columbia.

In 2005, only 3 percent of same-sex partners lived in a U.S. state that would recognize their right to marry. At the start of 2015, that tally had hit 70 percent, with only 14 states still restricting gay marriage. With the Court's decision in Obergefell v. Hodges, 100 percent of same-sex couples (more than 700,000 households) now have the option to marry.

National Journal used current and historical figures from the Census Bureau's American Community Survey to chart exactly how many same-sex couples have lived under laws that sanctioned, banned, or didn't address their unions. Below is a visualization of the hundreds of thousands of same-sex partnerships in the United States as they have gradually won the right to marry over the course of the past decade.

We want to hear what you think about this article. Submit a letter to the editor or write to letters@theatlantic.com.