Migrant Stock Chord Diagrams

During the last few months I have given some introductory talks on international migration in Asia and Europe. I had a couple of requests to share the animated chord diagrams that I created for others to use in their teaching materials. These are below, along with some extra plots for Africa and the Americas (Northern, Central and Southern America as well as the Caribbean.)

The chords in the diagrams represent the connection between the places of birth (at the base of the chord) and places of residence (at the arrow head of the chord). The width of based of the chords correspond to the size of the migrant population in millions. Chords are ordered relative to their size, with the largest migrant stocks plotted at the beginning of the country segments. The ordering of chords jumps around over time as the relative rankings of the largest foreign-born populations change in each country. Values for the migrant population sizes are from the 2017 revision of the United Nations DESA International Migrant Stock Data.

The data in these plots represent migrant population totals, not migration flows, hence the usual caveats associated with migrant stock data apply:

  • Underlying migration flows might form different patterns as migrants might not be moving from their country of birth.
  • Migrant populations can decrease from deaths as well as outward migration.

As in my previous post on animated chord diagrams I used the circlize package in R to produce each chord diagrams for each frame of the animation and tweenr for the intermediate data. The country flags were added using the circos.raster() function in circlize. I used gifski to produce the GIFs and converted them to MP4 files using https://ezgif.com. This reduced the file size to allow for quicker loading and enables viewers to control the animation - in most browsers you can right click to control the speed or save the file.

Related

comments powered by Disqus