Figure Friday 2025-w17


This Figure Friday focuses on global migration data from the period 1990–2024.
The figures displayed in the visuals represent total numbers. For example, if you look at emigration from the Netherlands, you’ll see that 613,000 people emigrated during this time frame.

Depending on whether you choose to view emigration or immigration, you’ll also see the classification of either the destination or origin country—such as whether the World Bank categorizes it as a “low-income” country.

The bar chart and map quickly reveal that the vast majority of Dutch emigrants moved to “high-income” or “upper-middle-income” countries.

Demo

Py.cafe: demo en code

Community link: link

Demo contains

  • Interactive Country Selection and Emigration/Immigration Switch Users can explore migration patterns by selecting a specific country and toggling between emigration and immigration views.
  • Dash Leaflet Map An interactive map built with Dash Leaflet allows users to visually examine migration flows and destination/origin countries.
  • Bar Chart The accompanying bar chart highlights the distribution of migrants across country income classifications, based on World Bank categories. It clearly shows that most Dutch emigrants moved to high- or upper-middle-income countries.

Figure Friday is an initiative from the Dash/Plotly community. Every friday a new dataset is made available with some basic code to show a visual and an explanation of the subject. People are invited to adjust the code and improve the visual or create a small app. The next friday a zoom session takes place where some explain why they made what they made and others can give feedback, all in a constructive and respectful atmosphere. In the thread on the community site people share their visual, code and a demo if possible.