SVD & PCA · an interactive essay

How many dimensions
does politics have?

How many questions do you need to ask someone to pinpoint their party preference? And which ones? The usual picture shows two axis, but are they optimal?

This article aims to illustrate the principle of principal component analysis and to show the scientific findings from applying it to Wahl-O-Mat data. The bpb is not the author of this analysis.

01where the map came from

One axis is history. The second is a patch job.

In France's first National Assembly in 1789, delegates who wanted to keep the monarchy sat on the right of the assembly's president; delegates who wanted to overturn it sat on the left. That conflict gave its name to the most important distinction between political camps. A centuries-old divide runs between economically "right-wing" and "left-wing" politics.

But a large share of political disagreement doesn't fit on that one line. Questions about immigration, national identity, or law and order don't reduce to taxes and redistribution. Political scientists patched the gap with a second axis, GAL–TAN: Green–Alternative–Libertarian at one pole, Traditional–Authoritarian–Nationalist at the other. This second dimension acts as a catch-all for issues on which positions, however, often line up together.

Even so, Germany's actual party system isn't spread evenly across the plane spanned by these two axes. Below are the seven largest parties that stood in the 2025 Bundestag election, placed roughly by economic position and GAL–TAN stance; each blob's size is that party's share of the 2025 vote. What stands out is that nearly the entire mass of votes runs along a single diagonal. The two axes don't separate the parties optimally.

rightleftGALTANLINKE8.8%GRÜNE11.6%SPD16.4%FDP4.3%CDU/CSU28.6%BSW4.97%AfD20.8%
positions are approximate placements on economic left–right (x) and GAL–TAN (y) · blob size = share of the 2025 Bundestagswahl vote
rough estimates for illustration only — not derived from the Wahl-O-Mat data used elsewhere on this page

To find the real axes, what it takes is a reliable data foundation.

02politics as points

Every party becomes a row of numbers

Germany's Wahl-O-Mat asks parties to answer dozens of theses with agree, neutral, or disagree. Encode those as +1, 0, −1 and each party turns into a row — a point in a space with one axis per thesis.

t1
t2
t3
t4
t5
t6
t7
t8
t9
t10
t11
t12
t13
t14
t15
t16
t17
t18
t19
t20
t21
t22
t23
t24
t25
t26
t27
t28
t29
t30
t31
t32
t33
t34
t35
t36
t37
t38
CDU / CSU
+
+
+
−
+
+
+
+
−
+
+
+
−
−
+
−
−
−
+
−
+
+
−
−
−
+
−
−
−
+
0
−
+
0
−
+
+
0
AfD
−
−
+
−
+
−
+
−
−
+
−
+
−
−
0
−
+
−
−
−
+
+
−
+
−
+
+
−
−
0
+
+
+
+
−
0
+
0
SPD
+
+
+
+
−
+
−
+
−
+
+
−
+
+
+
+
−
+
+
+
+
−
+
−
0
−
−
+
−
−
−
0
−
0
+
−
−
+
GRÜNE
+
+
−
+
−
+
−
+
−
0
+
−
+
+
+
+
−
+
+
+
+
−
+
−
−
−
−
+
+
−
−
−
−
+
+
−
−
+
Die Linke
−
+
−
+
−
+
−
+
+
−
−
−
+
+
−
+
−
+
+
+
−
−
+
−
+
−
−
+
0
−
−
+
−
+
+
−
−
+
BSW
−
−
+
−
+
+
0
−
+
0
−
−
+
+
−
+
−
0
+
0
+
0
−
−
0
−
−
+
0
−
−
+
−
+
+
+
+
+
FDP
+
−
+
−
+
−
−
−
−
0
+
+
−
+
+
−
0
−
+
−
−
+
0
−
−
0
−
−
−
+
+
−
−
+
+
−
+
−

Wahl-O-Mat 2025 · 7 parties × 38 theses · hover a column for the thesis · Datensatz © bpb

We have a matrix A∈Rm×nA \in \mathbb{R}^{m\times n} with m parties (rows) and n theses (columns), entries in {−1,0,+1}\{-1,0,+1\}. Row i, written Ai∗A_{i*}, is party i's position vector; the whole dataset can be viewed as a cloud of m points in Rn\mathbb{R}^n. Everything that follows is a statement about the shape of that cloud.
03counting the dimensions

How many dimensions does a space of opinions have?

In mathematics, the dimension of a space is the largest number of directions you can move in independently — none of them just a mixture of the others. For example, the plane is two dimesional, because one has the independent x and y directions but every possible third direction would just be a combination of those two.

In politics, we want to see a dimension in much the same way — as something separate you can hold a view on. The Wahl-O-Mat gives every party 38 answers, so the space of positions starts out 38-dimensional. The question is how many of those 38 are really independent, and how many are asking about the same values, just phrased differently.

in mathematics
the largest number of linearly independent directions in a space.
in politics
the separate things a person can take a position on.
04the core move

Two questions that turn out to ask one

Take two theses that sound unrelated — "All citizens should be required to be insured under statutory health insurance plans" and "Germany should resume using nuclear energy for electricity generation." Plot every party by its two answers and they don't fill the square; they fall along a diagonal, because a party that wants one usually wants the other too.

This is the pattern behind almost every real dataset: raw data is spread out over many directions, but those directions are rarely independent. They're correlated, dragging each other along. Correlation is exactly what lets you simplify. If knowing a party's stance on one thesis already tells you most of its stance on the other, you don't need two numbers to describe the party — one number, along the right diagonal, does almost as well.

Below is a little game. Grab the handle and rotate the axis by hand, trying to swing it onto the diagonal the cloud actually leans along. The bar chart score tells you how well you're doing. There's a second direction too, drawn faintly at a right angle to your axis: in this two-thesis picture, once the first axis is fixed, the second is forced — mathematically orthogonal to it, with no freedom left to search over.

With only two theses this is easy to see and easy to verify by eye. Our political data has 38 theses, 38 starting directions, and no picture to look at. To find the best axes, we have to compute.

VARIANCE CAPTURED
axis 181.8%
axis 218.2%

Drag the handle and try to maximize the spread along axis 1. The faint perpendicular line is axis 2: it's orthogonal to your choice by construction, so there's nothing to aim there, only what's left over.

Any matrix does exactly three things to space: rotate (Vᵀ), stretch along axes (Σ), then rotate again (U). Stated precisely: for any A∈Rm×nA \in \mathbb{R}^{m\times n} of rank rr, there exist matrices U∈Rm×rU\in\mathbb{R}^{m\times r}, V∈Rn×rV\in\mathbb{R}^{n\times r} with orthonormal columns and real numbers σ1≥⋯≥σr>0\sigma_1\ge\cdots\ge\sigma_r>0 such that
A=UΣVT,Σ=diag⁡(σ1,…,σr).A = U\Sigma V^{\mathsf T}, \qquad \Sigma = \operatorname{diag}(\sigma_1,\dots,\sigma_r).
The sandbox's "best angle" is the first column of V; the amount of spread it captures is σ1\sigma_1 — the first singular value. This isn't a separate fact from eigendecomposition: multiplying both sides by ATA^{\mathsf T} gives ATA=VΣ2VTA^{\mathsf T}A = V\Sigma^2V^{\mathsf T}, the spectral decomposition of the symmetric positive-semidefinite matrix ATAA^{\mathsf T}A — so V's columns are exactly its eigenvectors, and σi2\sigma_i^2 its eigenvalues. PCA reads these off in one shot as the eigenvectors of the covariance matrix.
05a technical note

Before any of that, you have to center the data

There's a step hiding before "spread out the most" means anything: spread out relative to what? A cloud of points sitting far from the origin can look like it has a dominant direction simply because every point points the same way from zero — toward wherever the cloud happens to be, not along the shape the cloud actually has. Ask for the direction of greatest spread on raw, off-center data and you mostly just measure the offset.

The fix: move the cloud so it sits around its own middle first. For every thesis, take the average answer across all parties, and subtract that average from every answer. Each column now has mean zero.

Once the data sits at zero, "spread out the most" finally means the right thing: variance around the center, not distance from an arbitrary reference point.

Same seven parties, same first two axes. The teal ring — the origin — sits right in the middle of the cloud: distances from it now reflect the cloud's actual shape.

For each thesis (column) j, compute its mean over parties: μj=1m∑i=1mAij\mu_j = \tfrac{1}{m}\sum_{i=1}^m A_{ij}. The centered matrix is
A~=A−1μT,\tilde A = A - \mathbf 1\mu^{\mathsf T},
where 1 is the all-ones column and μ the vector of column means — each row of 1μT\mathbf 1\mu^{\mathsf T} is just μ again, so this subtracts the same mean vector from every party's row. Every column of A~\tilde A now sums to zero. Subtracting a constant from a column is a translation, and translations preserve all pairwise differences and distances within the cloud — the shape is untouched, only its position relative to the origin changes. PCA then diagonalizes the covariance
Σcov=A~TA~/m;\Sigma_{\text{cov}} = \tilde A^{\mathsf T}\tilde A / m;
its eigenvectors are exactly the right singular vectors of A~\tilde A (columns of V), with eigenvalues σi2/m\sigma_i^2/m. So "principal component analysis" and "SVD of the centered matrix" are the same computation wearing two names.
06the result

The two-dimensional spectrum, drawn by the data

Now applying the singular value decomposition and keeping the two strongest singular directions, every party gets two coordinates. Plotted, they form a spectrum no one drew by hand. It's a combination of each party's 38 different positions.

What the axes mean is left to clarify in the next step. The theses that point in the corresponding directions give us an indicator. The parties in these directions tend to support these theses.

axis 1 →↑ axis 2CDUAfDSPDGRÜNELINKEBSWFDP

Instead of going by way of finding optimal directions, the SVD can also be pictured as a decomposition of the Wahl-O-Mat matrix into a sum of simple matrices, each carrying just one message. Simple here means they are weighted rank-1 matrices. Taking only the sum of the k matrices with the highest weight gets you very close to the original matrix, very quickly.

k =2‖A − Ak‖F = 7.41 (of 14.42 total)
cell color = |reconstruction error|:exact→way off
CDU
AfD
SPD
GRÜNE
LINKE
BSW
FDP

Every cell is colored by how far the rank-k guess is from the party's true answer — blue means the reconstruction nailed it, orange means it's badly wrong, regardless of whether the true answer was agree or disagree — chosen so the two ends stay distinct even under red–green color blindness. Drag k from 0 to 7: at k=0 every party is guessed as the average answer (mostly orange), and as k grows the grid visibly drains of orange until, at k=7, it's entirely blue — an exact reconstruction. The error number above is read directly off the tail of the singular values, not recomputed from the grid — theorem and picture agree by construction, and shrink together.

Keeping only the top k axes isn't a heuristic — it's provably the best you can do. Write the truncated SVD as
Ak:=∑ℓ=1kσℓ U∗ℓV∗ℓT,A_k := \sum_{\ell=1}^{k}\sigma_\ell\, U_{*\ell}V_{*\ell}^{\mathsf T},
the rank-k matrix built from the k strongest singular directions — exactly the general-n-dimensional version of the "rotate the handle" game from the sandbox above, now with k handles instead of one. The Eckart–Young theorem says A_k minimizes the Frobenius distance to A among every rank-k matrix B, and moreover
∥A−Ak∥F  =  min⁡rank⁡(B)=k∥A−B∥F,∥A−Ak∥F2=∑ℓ>kσℓ2.\|A-A_k\|_F \;=\; \min_{\operatorname{rank}(B)=k}\|A-B\|_F, \qquad \|A-A_k\|_F^2=\sum_{\ell>k}\sigma_\ell^2.
Combined with ∥A∥F2=∑ℓσℓ2\|A\|_F^2=\sum_\ell\sigma_\ell^2 (each singular value's contribution to the total spread), this is exactly the arithmetic behind the "roughly half… three-quarters" reading of the scree plot below: there is no rank-2 matrix, however cleverly chosen, that fits the party data better than keeping the two strongest axes.
07reading the axes

What the two axes turn out to be

The axes fall out of arithmetic, but they are not meaningless. Sort the theses by how strongly they load on each one and you can venture an interpretation. The first appears to be the economic left–right spectrum we already expected.

The second is a surprise: it isn't the liberal-versus-authoritarian axis of the usual compass. After a long look at the theses it loads on, my best interpretation is a split between preservation and change — between continuing the existing political maxims and (sometimes radical) changes to them.

axis 1
Economic left — right
Over half of all the disagreement lives on this one line.
pulls left
  • +0.23Anhebung des Spitzensteuersatzes
  • +0.23Krankenkassen
  • +0.23Schiene vor Straße
  • +0.23Ökologische Landwirtschaft
pulls right
  • -0.23Nutzung der Kernenergie
  • -0.23Schuldenbremse
  • -0.22Abweisung Asylsuchender
  • -0.22Fossile Brennstoffe
This is the axis everyone already knows — taxes, rents, transport, energy. The parties order themselves along it Linke · Grüne · SPD · BSW · FDP · CDU · AfD, with nobody told in advance what "left" means.
axis 2
Preservation — change
An establishment split: who backs the current order, who wants to break with it.
preservation
  • +0.41Unterstützung der Ukraine
  • +0.41Anwerbung von Fachkräften
  • +0.35Rüstungsexporte nach Israel
  • +0.22Erneuerbare Energien
change
  • -0.36Volksentscheide
  • -0.29Rente nach 40 Beitragsjahren
  • -0.1535-Stunden-Woche
  • -0.13Soziales Pflichtjahr
The governing centre — CDU, FDP, SPD, Grüne — clusters on one side; AfD, BSW and the Left share the other. This second division separates parties that defend the status quo from those campaigning to upend it.
08how much fits in two

Two axes hold about seventy-five percent

Each singular value says how much of the parties' disagreement its axis accounts for. The first holds roughly half of it. The second brings the running total to about three-quarters. Everything after that adds only a few percent apiece. Two axes are not the whole of it, but they are most of what is there.

55%
19%
11%
8%
5%
3%
σ1
σ2
σ3
σ4
σ5
σ6
axis 1 alone = 55% · axes 1+2 = 74% of all disagreement
A natural worry: if the Wahl-O-Mat had asked one fewer thesis, or a party had answered one question differently, could the whole two-axis picture shift wildly? Weyl's theorem on singular values bounds exactly this. For any two matrices X, Y of the same shape,
σi+j−1(X+Y)  ≤  σi(X)+σj(Y)(i,j≥1).\sigma_{i+j-1}(X+Y)\;\le\;\sigma_i(X)+\sigma_j(Y)\qquad(i,j\ge 1).
Taking X = A and Y a small perturbation (one changed answer, one dropped thesis), setting j = 1 gives σi(A+Y)≤σi(A)+σ1(Y)\sigma_i(A+Y)\le\sigma_i(A)+\sigma_1(Y): each singular value moves by at most the size of the perturbation itself — never more. The two-axis structure isn't a fragile artifact of this exact 38-thesis questionnaire; it's stable under the kind of small edits an editorial committee's choices actually amount to.
09the answer

So how many dimensions does politics have?

Two. At least once you accept two conditions.

*
You have to call about seventy-five percent "enough."
That is roughly what the first two axes recover. Insist on more and the count climbs; the remaining twenty-five percent is spread thinly across a dozen smaller directions.
**
You have to take the Wahl-O-Mat as a stand-in for politics.
Thirty-eight statements chosen by an editorial team, answered by parties rather than by people.

Grant both and the answer is two. That is already a strong claim: for all its apparent noise, the space of German party positions is very nearly a plane.

10keeping honest

What the numbers don't tell you

01
The theses aren't neutral.
The Wahl-O-Mat keeps only statements where the parties actually differ and that are easy for many people to understand. That selection is built to maximise contrast, which sharpens the left–right axis and is part of why the structure looks so clean.
02
The sign is arbitrary.
SVD has no notion of which end is "left." The orientation of each axis is a choice made by hand after the fact.
03
Naming is interpretation.
The arithmetic hands you a direction. Calling it "left–right" or "preservation–change" is a reading we lay on top of it.
04
Parties are not voters.
This maps where the parties stand. People are messier and would cluster differently.
11the same move, everywhere

Politics is just another table of numbers

The procedure that folded 38 political dimensions down to two is the same one behind image compression, recommendation systems, face recognition and climate analysis. Whenever a large table hides a few strong directions, SVD finds them, keeps the ones that matter and discards the rest. Politics was simply one table among many.

Data source & legal notice
The bpb is not the author of this analysis.

This presentation is based on the dataset "Wahl-O-Mat zur Bundestagswahl 2025". The dataset's author is the Bundeszentrale für politische Bildung (bpb).

This SVD/PCA analysis of party positions and its visualization were created independently for scientific and educational purposes. The bpb did not create, review, or authorize this analysis and is not its author.

The content of this analysis — the underlying math, the interpretation of the data, and the writing — is my own. I used AI assistance only for the technical implementation and for building the interactive visualizations.

This is not a Wahl-O-Mat and does not constitute voting advice. It does not calculate or show any individual user's proximity to parties; the interactive compass is illustrative only and is not based on the dataset.

Source: archiv.wahl-o-mat.de/bundestagswahl2025

A personal note: my thanks to the bpb for building the Wahl-O-Mat and making its data publicly available — work like this is what made this analysis possible. I was also part of the team that built the 2026 state Wahl-O-Mat for Sachsen-Anhalt, and it was a genuinely interesting and rewarding experience.