The EU referendum: surname diversity and voting patterns

An interesting by-product of the UK’s referendum on membership of the EU has been the wide variety of data analyses and visualisations to explain and add context, both before and after the results (for examples, see here, here and here). However, one of the few aspects that has not been analysed is how surname diversity in districts relates to referendum voting patterns.