Rio de Janeiro
Rio has more people living in slums than any other city in Brazil, according to the 2010 Census. More than 1,500,000 people live in its 763 favelas, 22% of Rio's total population. São Paulo, the largest city in Brazil, has more favelas (1,020) in sheer numbers, but proportionally has fewer people living in favelas than Rio.
São Paulo (state)
With more than 45 million inhabitants in 2017, São Paulo is the most populous Brazilian state, the most populous national subdivision in the Americas, and the third most populous political unit of South America, surpassed only by the rest of the Brazilian Federation and Colombia. The local population is one of the most diverse in the country and descended mostly from Italians, who began immigrating to the country in the late 19th century; of the Portuguese, who colonized Brazil and installed the first European settlements in the region; indigenous peoples, a large number of distinct ethnic groups; Africans, who were brought from Africa as slaves in the colonial era and migrants from other regions of the country. In addition, Arabs, Germans, Spanish, Japanese, Chinese, and Greeks also are present in the ethnic composition of the local population.