When the referendum result was announced, many people were shocked. The UK had voted for Brexit. Many others were delighted. All their years of campaigning to get Britain out of the EU had finally paid off - or had they?
Looking at how different portions of our society voted revealed a great divide in Britain. Scotland and Northern Ireland both voted to Remain, whilst England and Wales opted to Leave. But that's not all - younger people voted to remain and older ones to leave, and university graduates were much more likely to have voted Remain than those without a higher education.
Religion, culture and nationalism were also factors in how we voted, and there were also claims of interference by a foreign state. All of this offered an insight into how the UK's demographic groups think, which we look at in this quiz.