Gays and lesbians throughout India rejoiced last month when a landmark court ruling made homosexuality legal in the country.
While the decision may seem like a long time coming for those in the LGBTQ community, gay sex is still illegal in nearly 40% of countries in the United Nations, according to statistics released last year by the International Lesbian, Gay, Bisexual, Trans and Intersex Association (ILGA).
To understand how gay rights vary around the world, Business Insider created a set of maps that visualize which countries have legalized gay marriage and the countries where gay people can still be put to death, among other questions.
The results show that while homosexuality is no longer outlawed in the majority of the world, there's still a long way to go in terms of acceptance and equality for LGBTQ people.