Explore elections across the income distribution
Which candidates receive more support in poorer and richer areas? Explore the curves below. The horizontal axis ranks census tracts by the mean income of household heads with income in Census 2022, from the poorest 1% of eligible tracts to the richest 1%. These are groups of tracts, rather than population or voter percentiles.
A higher vote share associated with higher-income census tracts does not establish that higher-income voters voted for that candidate. Income is the mean for household heads in the tract in Census 2022; we do not know the income of the person who cast each vote.
Vote share is a territorial estimate: each tract receives the share from the nearest eligible polling place in the same municipality, within 5 km. Proximity does not establish where residents vote. The curve averages these shares across observed tracts in each percentile, without weighting by the number of residents or voters.
Coverage can differ substantially across income groups. A curve segment may represent very few tracts even when overall coverage is high. Check the included/total tracts in the hover; low-coverage points require caution. Reconciliation with TSE totals checks the input votes, but does not validate the spatial assignment or identify individual voting behavior. This analysis does not certify an exact replication of Folha’s method.
This is an independent spatial reconstruction of the approach illustrated by Daniel Mariani’s analysis in Folha de S.Paulo. The selectors show only processed series. Their availability varies by election, round, office and territory; absent combinations are unavailable. The coverage and vote-reconciliation panels describe the selected series. This page does not claim an exact replication of the newspaper’s estimator.
Loading aggregate data…
Income concentration of the vote
The table below has its own selectors, independent of the explorer above. For each candidate in the selected series, it summarizes the concentration index of the vote by income. It ranges from −1 (all of the vote in the poorest tracts) to +1 (all in the richest); 0 means equal vote shares across income groups. This is the concentration index with the Wagstaff (2005) normalization, explained below, which puts a deputy with 30,000 votes and a presidential candidate with half of the vote on the same scale.
A positive index means higher vote shares in richer areas, not that the candidate was chosen by wealthy voters: the association is territorial, as in the chart. The index uses the income reference and census of the selected series. For deputies, the within-state reference compares each candidate with the state’s own income distribution. Candidates with very small or highly localized votes get extreme and unstable indices, so the table starts from a minimum mean vote share of 0.1%, which can be changed.
Loading the series…
How the index is computed
For one candidate, number the income percentiles in increasing order, \(t = 1, \dots, 100\). In each percentile, \(n_t\) is the number of tracts with a vote estimate and \(y_t \in [0, 1]\) is the candidate’s mean vote share in those tracts (the chart’s value, as a proportion). Weights, the fractional rank at each percentile’s midpoint and the mean are
\[ f_t = \frac{n_t}{\sum_s n_s}, \qquad R_t = \sum_{s<t} f_s + \frac{f_t}{2}, \qquad \mu = \sum_t f_t\, y_t . \]
The standard concentration index (Kakwani et al., 1997) is
\[ C = \frac{2}{\mu} \sum_t f_t\, y_t\, R_t - 1 = \frac{2\,\operatorname{cov}_f(y, R)}{\mu}, \]
which equals \(C = 1 - 2\int_0^1 L(p)\,dp\), where \(L(p)\) is the concentration curve: the cumulative share of the candidate’s vote against the cumulative share of tracts, from poorest to richest. The table shows the Wagstaff (2005) normalized index:
\[ C_W = \frac{C}{1 - \mu}. \]
Percentiles without observed tracts are left out; they never count as zero votes.
Why the Wagstaff normalization
A tract’s vote share cannot exceed 100%. With a variable bounded this way, the standard index lies between \(\mu - 1\) and \(1 - \mu\) (Wagstaff, 2005): a candidate with half of the vote cannot go beyond \(\pm 0.5\), however concentrated the vote, while a deputy with 1% can come close to \(\pm 1\). Dividing by \(1 - \mu\) gives every candidate the same range, \(-1\) to \(1\), and makes candidates of very different sizes comparable.
- Deputies. With mean shares usually below 2%, \(1/(1-\mu)\) is close to 1 and the index nearly equals the standard one.
- Majoritarian offices. In a two-candidate runoff, shares add up to 100% in every tract, and one candidate’s Wagstaff index is exactly the negative of the other’s (\(C_{W,A} = -C_{W,B}\)). In the 2022 presidential runoff, with the national reference, the standard index is \(-0.109\) for Lula and \(+0.115\) for Bolsonaro; the Wagstaff index is \(-0.224\) and \(+0.224\).
- Why not Erreygers (2009). The Erreygers correction multiplies the index by \(4\mu\) and measures absolute inequality: a candidate with twice the vote would get nearly twice the index with the same distribution across income groups. The table asks something else: where each candidate’s vote comes from, relative to the candidate’s own mean.
The standard index remains in the table’s CSV, in the indice_concentracao_padrao column.
References
Erreygers, G. (2009). Correcting the concentration index. Journal of Health Economics, 28(2), 504–515.
Kakwani, N., Wagstaff, A., & van Doorslaer, E. (1997). Socioeconomic inequalities in health: Measurement, computation, and statistical inference. Journal of Econometrics, 77(1), 87–103.
O’Donnell, O., van Doorslaer, E., Wagstaff, A., & Lindelow, M. (2008). Analyzing health equity using household survey data: A guide to techniques and their implementation. World Bank.
Wagstaff, A. (2005). The bounds of the concentration index when the variable of interest is binary, with an application to immunization inequality. Health Economics, 14(4), 429–432.
Read the chart
Include all and Clear selection affect every candidate in the selected contest, including those hidden by search. Search stays active and the buttons do not change votes or denominators.
Hover over a curve to inspect vote share, mean income in 2022 minimum wages, and the number of tracts. Toggle candidates to compare curves. The chart’s camera button exports a PNG. Candidate search accepts names, ballot numbers and parties; the initial selection shows the six highest mean tract shares when more than six candidates are available. Search results do not clear the selected curves. This ordering is not a ranking of total votes. Download links provide the displayed aggregate series and the complete availability manifest.
Each tract receives the vote shares of its nearest eligible polling place, within the same municipality and at most 5 km away. The displayed share is the unweighted mean across tracts in each percentile. The denominator includes all legally valid nominal and party-list votes applicable to that office, including candidates whose curves are hidden. Blank and invalid votes are excluded. Senate vote percentages use valid votes, rather than unique voters; the number of senatorial choices varies by election. A polling place may supply estimates for multiple tracts.
The reconciliation panel concerns electoral input totals: it compares the processed votes with official TSE aggregates for the selected contest. A successful check does not validate the geocoding, the proximity estimator, the vote attribution to tracts or the newspaper reproduction. Unreconciled or unaudited data must not be described as reconciled.
Territorial association does not establish how individual income groups voted. Historical comparisons must keep the 2022 income reference fixed and document changes in coverage and polling-place locations. Expanded historical series rank all tracts with eligible Census 2022 income before electoral exclusions. In Income reference, “Within state” ranks only that state’s tracts: the richest end represents the richest tracts within the state. This is the default for state offices. “Brazil” retains their position in the national income distribution, supporting comparisons of income levels across territories. A tract can be rich within its state and occupy a middle position nationally. Switching references changes the groups, while keeping each tract’s assigned vote shares; these curves do not count votes by income group. Keep the same reference when comparing elections. A percentile’s mean income describes its complete income-eligible group in the selected territory; its covered tract count can be smaller. No local estimate is shown as a zero vote share merely because the spatial match is missing.
By default, income is measured in 2022 for every election. For 2010 and 2014, the Reference census selector also offers Census 2010 income and tracts, contemporary with those elections; curves from different censuses should not be compared with each other, because tracts and income variables changed. The historical curves therefore describe earlier voting patterns across areas ranked by their 2022 income; they do not measure income at the time of each election. Source and method records must document the geography used and any polling-place proxies. When only a first-round register is available, second-round votes use that same year’s register, with a notice in the coverage panel. Address changes under an unchanged place key cannot be detected in that case.
Compare elections
Below the explorer, the comparator shows how much a party’s vote share changed between two elections in each income percentile. Each bar is the share in election B minus the share in election A, in percentage points. Blue bars show gains; brick-red bars show losses. Percentiles without an estimate in either election are grey and carry no value.
The comparison uses the same tract groups in both elections, ranked by the income of the selected census. It does not measure income at the time of each election. The difference combines changes in votes, in the electorate and in the polling-place network; it does not show that the same people changed their vote. Only series with the same office, territory, income reference and census can be compared. Parties are matched by ballot number: after a renaming or merger, one number may stand for different organizations in different elections.
Loading the comparison…
Reproduce and expand
The original reconstruction documents the upstream pipeline, exclusions, proximity sensitivity and numerical checks. This explorer reads small static JSON files and requires no application server. Its data contract defines how validated series for additional elections, rounds, offices and states enter the same interface. The source is app.js; all downloaded files contain aggregate values.
For state elections, candidates and their denominators must be compared within the relevant state and office. A national curve for a state-level candidate would require a separate, explicitly justified aggregation rule. Missing series are unavailable, rather than zero votes.
For some 2010 and 2014 deputy contests, official zone totals do not identify how final party-list votes reached each polling place. Governor contests without matching official candidate and party totals also remain unavailable. No votes are assigned by proportional allocation.