Analysis on the petition for the 2nd Brexit referendum (https://petition.parliament.uk/petitions/131215). You can find the compiled version of this notebook on RPubs.
I took many ideas and code from this github repo. Spatial data for the maps comes from Martin Chorley's UK-GeoJSON project, and it's licensed with a CC-BY 4.0 license. Petition data and electoral body data come from the electoral commission website.
This repository is licensed with a CC-BY 4.0 license. Please attribute by linking back to this website or to the RPub page.