This clever article from the New York Times explores how personal identity shapes party affiliation. It opens with a huge quiz: answer a few “yes or no” questions, and the machine will predict whether you’re more likely to be a Democrat or a Republican.

Then the story shows how some variables moved in the latest decades, with interesting charts.