Every pub plotted on map of Britain and Ireland

Unknown

Public data was used to create this fascinating map.

In this notebook I show how you can draw a map of Britain and Ireland from location data using the Matplotlib Basemap Toolkit. The data points that will be drawn are pub locations extracted from OpenStreetMap and provided by osm-x-tractor.

When you download and extract the Points Of Interest (POI) dataset as a CSV file it has a file size of about 800 MB and more than 9 million entries for different types of locations. To filter out only the locations tagged as pubs you can use csvgrep, which is part of the csvkit toolkit.

It tracks closely to population density, but it appears to me that coastlines get more pubs. Buy prints at Redbubble. [via r/dataisbeautiful]