{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Visualize football stadiums\n", "\n", "This notebook visualizes the data geocoded in [foursquare-geocode-football-stadiums.ipynb](foursquare-geocode-football-stadiums.ipynb). The dataset comprises all the Division I college football stadiums in the US (FBS and FCS) comes from [here](https://en.wikipedia.org/wiki/List_of_NCAA_Division_I_FBS_football_stadiums) and [here](https://en.wikipedia.org/wiki/List_of_NCAA_Division_I_FCS_football_stadiums)." ] }, { "cell_type": "code", "execution_count": 1, "metadata": { "collapsed": true }, "outputs": [], "source": [ "import pandas as pd, numpy as np, matplotlib.pyplot as plt, json\n", "import matplotlib.font_manager as fm, matplotlib.cm as cm, matplotlib.patches as mpatches\n", "from mpl_toolkits.basemap import Basemap\n", "\n", "%matplotlib inline" ] }, { "cell_type": "code", "execution_count": 2, "metadata": { "collapsed": true }, "outputs": [], "source": [ "# dpi for saving images\n", "dpi = 96" ] }, { "cell_type": "code", "execution_count": 3, "metadata": { "collapsed": false }, "outputs": [ { "data": { "text/html": [ "
\n", " | stadium | \n", "city | \n", "state | \n", "team | \n", "conference | \n", "capacity | \n", "built | \n", "expanded | \n", "div | \n", "latitude | \n", "longitude | \n", "
---|---|---|---|---|---|---|---|---|---|---|---|
0 | \n", "Michigan Stadium | \n", "Ann Arbor | \n", "MI | \n", "Michigan | \n", "Big Ten | \n", "107601 | \n", "1927 | \n", "2015 | \n", "fbs | \n", "42.265869 | \n", "-83.748726 | \n", "
1 | \n", "Beaver Stadium | \n", "University Park | \n", "PA | \n", "Penn State | \n", "Big Ten | \n", "106572 | \n", "1960 | \n", "2001 | \n", "fbs | \n", "40.812153 | \n", "-77.856202 | \n", "
2 | \n", "Ohio Stadium | \n", "Columbus | \n", "OH | \n", "Ohio State | \n", "Big Ten | \n", "104944 | \n", "1922 | \n", "2014 | \n", "fbs | \n", "40.001686 | \n", "-83.019728 | \n", "
3 | \n", "Kyle Field | \n", "College Station | \n", "TX | \n", "Texas A&M | \n", "SEC | \n", "102733 | \n", "1927 | \n", "2015 | \n", "fbs | \n", "30.610098 | \n", "-96.340729 | \n", "
4 | \n", "Neyland Stadium | \n", "Knoxville | \n", "TN | \n", "Tennessee | \n", "SEC | \n", "102455 | \n", "1921 | \n", "2010 | \n", "fbs | \n", "35.954734 | \n", "-83.925333 | \n", "