We’re waiting longer than ever for our favorite TV shows to return
November 28th, 2024
2 min
Datawrapper lets you show your data as beautiful charts, maps or tables with a few clicks. Find out more about all the available visualization types.
Our mission is to help everyone communicate with data - from newsrooms to global enterprises, non-profits or public service.
We want to enable everyone to create beautiful charts, maps, and tables. New to data visualization? Or do you have specific questions about us? You'll find all the answers here.
Data vis best practices, news, and examples
250+ articles that explain how to use Datawrapper
Answers to common questions
An exchange place for Datawrapper visualizations
Attend and watch how to use Datawrapper best
Learn about available positions on our team
Our latest small and big improvements
Build your integration with Datawrapper's API
Get in touch with us – we're happy to help
This article is brought to you by Datawrapper, a data visualization tool for creating charts, maps, and tables. Learn more.
Hi, I’m Luc from the visualization team. This week, I am looking at population growth in Germany using a chart type notoriously difficult to read: a connected scatterplot!
World population is set to peak in 2086 at around 10 billion people. But some countries may already have passed their peak: China, for example, is projected to reach 2100 with only half as many people as it has today. In China’s case, declining population is due to its low and falling fertility rate, which currently stands at 1.17 children per woman (well below the replacement rate of 2.1).
The United Nations is also projecting a population decline for Germany:
But this drop isn't nearly as dramatic as China's. In fact, fertility rates in Germany have been below replacement since 1972, but the country has still experienced two periods of population growth since then. The explanation, of course, is immigration. Let’s have a look at the relationship between migration and population growth in Germany over the past 72 years with the help of a connected scatterplot:
This is not a line chart! The migration rate on the vertical axis reflects the ratio between the number of immigrants (people coming into Germany) and the number of emigrants (people leaving the country). A migration rate above zero means there are more immigrants than emigrants. The horizontal axis represents the country's total population. Follow the path of the dots to see how those two measures have changed over time.
When first looking at this chart, I was immediately compelled by these two loops! There's no simple relationship between migration and population growth. With my limited knowledge of German history (and the help of Wikipedia), I tried to explain the dynamics in the chart following the periods of population growth and decline that I also highlighted in the population chart above.
The economy of Germany probably wouldn’t have been so prosperous in the second part of the 20th century without the labor force coming from abroad. With an aging population and immigration being such a hotly debated question in Germany (as in other countries), whether this prosperity will continue depends a lot on the political path that the country chooses in the coming years.
To create a connected scatterplot with Datawrapper, you can start with a regular scatterplot and use the experimental “Custom lines and areas” feature in the Annotate tab. I used code to generate the coordinates of the line segments, which can be found in this Observable Notebook. All data are from the United Nations 2022 report World Population Prospects.
Despite connected scatterplots being difficult to read and full of shortcomings, I like how visually dramatic a looping line can be. I hope I can convince you that connected scatterplots have a place in the beautiful world of data visualization. For chart types and for people, I believe that diversity can only lead to a better society!
Comments