Using the Gallagher index of least squares. A score of 0 means that each party won exactly the same proportion of seats as their share of the vote.
(Please use a modern browser to see the interactive version of this visualization)