This is a small project based on work done by Nathan Bingham.
It finds the closest county to each team that is in a given league and emits output that can be imported into this mapchart map.
To generate the json for a given league:
python generate.py <league>
To generate the json for nba teams output to a file:
python generate.py nba > output.json
League options available:
- nfl
- nba
- mlb
- nhl
- mls
- ncaafbs
- ncaafcs
Colors from here. I tried to use contrasting colors in most places.