This is the apuration for the second round on the Brazilian presidential election. It should finish in the next few hours (the 1st round took about 5 hours to complete)
Rural areas are poorer, so they vote for the one who has a record of ending hunger would make sense. Why do urban areas lean to Bolsonaro?
Source: lived in Brazil for 5 years
Also, this election is not typical. Left or centre-left has won 6 ou of the 7 past presidential elections since the end of military rule. Brazil, like most Latin American countries, is predominantly left-leaning. Bolsonaro has been an anomaly and most likely will not be reelected.
But there are different views about urban violence (what is a huge talking point of Bolsonaro), different ways people get their news, urban community breakdown, different religious trends, and a lot more.