Skip to content

kylegalloway/Closest-Teams

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Closest-Teams

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.

Examples of output

NFL

NFL

NBA

NBA

MLB

MLB

NHL

NHL

MLS

MLS

NCAAFBS

NCAAFBS

NCAAFCS

NCAAFCS

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages