This is the code of the site http://migrationsmap.net, including the scripts used to generate the JSON data files.
The code is under MIT license.
Don't hesitate to contact me at [email protected], or via twitter: http://twitter.com/madewulf if you have any question.