Data projects

Interactive apps and short data reports I have built to share research and data on elections, public opinion and Catalan society with a wider audience.

General election 2026: seat projector

Interactive app · EN / CA / ES

Turns national poll averages into a seat projection for Spain's Congress of Deputies. It allocates seats province by province with D'Hondt, assuming the 2023 territorial pattern holds, and uses Monte Carlo simulations to show uncertainty ranges and the probability of each outcome. You can also build your own scenarios.

Open app

Campaign events and vote intention

Report · EN / CA / ES · November 2026

What 40dB's daily tracking poll tells us about the first week of the campaign for the 29 November general election. Most of the events that dominated the news left no visible trace in vote intention. The exception is 13 November, when the campaign officially began: after that day, support for Vox falls by about five points.

Read report

Reading the election-night count

Report · CA / ES · October 2026

On election night, polling stations are not counted in random order: small towns report first and big cities last, so provisional results can mislead for hours. This report shows how a simple weighting of the stations already counted, based on the previous election, anticipates the final result well before the count ends.

Read report

More demand, the same places, higher cut-off marks

Report · CA · July 2026

Access to Catalan public universities, 2016–2025. First-choice applications grew 13% between 2020 and 2025, while places grew only 4%. The median cut-off mark rose from 5.92 to 8.20, even though students' average entrance marks barely changed.

Read report

Aliança Catalana 2024: a municipal analysis

Report · CA

The data analysis behind the article “Del carlisme a la xenofòbia” in the newspaper Ara. It maps the Aliança Catalana vote across Catalonia's 947 municipalities, projects it with CEO barometer data (vote transfers and MRP), and models who votes for the party.

Read report

Language ABM Explorer

Interactive app · Shiny · EN

An agent-based model of language choice between Catalan and Spanish speakers in Catalonia. Speakers are loyal, adaptive or rigid, and each conversation is a coordination game. Change the share of Catalan speakers, homophily or the mix of speaker types to see how the share of conversations held in Catalan responds, compared with a baseline calibrated on 2023 survey data.

Open app