Voronoi based on a list of airports
In this section, we're going to create a Voronoi diagram based on geographical data. We'll use a list of all the airports in the world, and use their locations to create a Voronoi diagram. We can create maps using this approach that look like this:

You can still see the general shape of the continents, even though we did not plot any geographic data. The first thing to do is get the data and sanitize it.
Prepare the data
We first download the list of airports from http://ourairports.com/data/airports.csv. This list contains information on all the airports and groups them by size. The data in this file looks like this:
"id","ident","type","name","latitude_deg","longitude_deg",... 6523,"00A","heliport","Total Rf Heliport",40.07080078125,- 74.93360137939453,...6524,"00AK","small_airport","Lowell Field",59.94919968,- 151.695999146,...
We'll use a small script to filter out only the name
, latitude_deg
, and longitude_deg
fields for the medium_airport
and large_airport...