Written and maintained by CASRAI Editorial Board
Last updated
Gapminder is an independent Swedish educational foundation and platform that translates complex global development statistics into intuitive visualizations. Established in Stockholm, the organization compiles historical and contemporary time-series tracking health, prosperity, demographics, and environment. In research data management, Gapminder fills two roles: an open web portal providing aggregated international indicators under Creative Commons licensing, and an established CRAN R package authored by Jennifer Bryan used to teach data manipulation and graphical analysis.
Understanding the provenance, licensing rules, and methodological boundaries of Gapminder is essential for data stewards and empirical analysts. While the platform offers valuable macro perspectives for instruction, researchers must distinguish secondary aggregations from primary statistical registries. Scholarly workflows require tracing compiled series to original statistical custodians, distinguishing live indicators from frozen package snapshots, and applying proper attribution adhering to Creative Commons licenses for research data.
What it is
Gapminder is an open statistical education service operated by the Gapminder Foundation alongside an analytical suite of visualization tools and downloadable tables. The platform gained global prominence through presentations by co-founder Hans Rosling, who used animated bubble charts to clarify shifts in global life expectancy and income. The software engine powering these presentations, Trendalyzer, converted multidimensional longitudinal datasets into interactive bubble charts displaying national trajectories over time.
Beyond interactive chart engines, Gapminder serves as a curated data clearinghouse. It harmonizes multi-decade time-series from international statistical bodies into standardized spreadsheet downloads in CSV and XLSX formats. Concurrently, the statistical programming community relies on the gapminder package on CRAN, which provides a clean, rectangular excerpt of socio-economic data structured for instruction in data wrangling, reproducible workflows, and statistical graphics.
Who runs it and what it covers
The platform is governed by the Gapminder Foundation (Stiftelsen Gapminder), an independent Swedish operating foundation registered in Stockholm. It was established on 25 February 2005 by Ola Rosling, Anna Rosling Rönnlund, and Hans Rosling. Under its charter, the foundation maintains no political, religious, or economic affiliations. It does not award grants; it functions strictly as an operating foundation that produces free educational resources.
Following Google’s acquisition of the Trendalyzer code in 2007, Gapminder developers worked within Google to integrate visual analytics into web search infrastructure. In 2010, the founders returned to the independent foundation to expand educational tools, initiating the Ignorance Project to benchmark public knowledge gaps, launching Dollar Street in 2016 to photograph household living standards across income levels, and publishing the volume Factfulness in 2018.
In scope, the web repository harmonizes hundreds of global metrics across several categories:
- Demography and Population: Total population, population growth rates, and fertility rates.
- Public Health: Life expectancy at birth, child mortality under age five, maternal mortality, and disease prevalence.
- Economics and Poverty: Per-capita GDP adjusted for purchasing power parity (PPP in constant 2005 international dollars), Gini inequality coefficients, and extreme poverty headcount ratios.
- Education: Mean years in school, adult literacy, and primary completion rates.
- Environment: Carbon dioxide emissions per capita and energy consumption metrics.
Gapminder does not conduct primary surveys or national census counts. Its indicators are compiled and harmonized from primary custodians, including the United Nations Population Division, the World Bank World Development Indicators, the World Health Organization (WHO), the Institute for Health Metrics and Evaluation (IHME), and the Maddison Project Database for economic history.
How to search or use it
Researchers interact with Gapminder resources through either web data exports or the statistical computing environment in R.
Using the Gapminder Web Data Repository
- Navigate to Data Downloads: Open the indicator catalog at
gapminder.org/data/to browse available global metrics. - Select Target Indicators: Locate specific metrics, such as Life Expectancy at Birth or GDP per capita in constant PPP dollars.
- Review Documentation: Inspect indicator metadata to identify the primary provider agency and historical coverage notes.
- Download Tabular Files: Export the dataset in CSV or XLSX format for local analysis.
- Configure Tools Visualizations: Open
gapminder.org/tools/to assign indicators to chart axes, bubble size, and color parameters. - Evaluate Longitudinal Trends: Use the animation slider to observe national shifts across historical periods.
- Apply Licensing Attribution: Format citations using the required CC-BY notice before redistributing figures.
Working with the CRAN R Package
For reproducible teaching, code benchmarking, and statistical demonstrations, analysts utilize the gapminder R package maintained by Jennifer Bryan:
- Install from CRAN: Run
install.packages("gapminder")in R (requires R >= 3.1.0). - Load Libraries: Call
library(gapminder)alongside analytical packages such asdplyrandggplot2. - Inspect the Core Object: Query the
gapmindertibble. It contains exactly 1,704 observations and 6 variables:country(142 factors),continent(5 factors),year(1952–2007 in 5-year increments),lifeExp,pop, andgdpPercap. - Load Unfiltered Data: Access the supplementary object
gapminder_unfiltered(3,313 rows) when expanded country samples are needed. - Build Reproducible Plots: Construct visualizations mapping
gdpPercap(log scale) againstlifeExp. - Cite Package Provenance: Record formal package identifiers in replication documentation following standards for how to cite a dataset.
Strengths and limits
Evaluating Gapminder for research workflows requires balancing its communicative utility against empirical boundaries.
Strengths
- Rectangular Data Structuring: Compiles disparate historical time-series into harmonized tabular formats ready for immediate analytical inspection.
- Intuitive Multi-Axis Visualization: Facilitates rapid exploration of macro-level correlations across demographic and economic variables.
- Clear Licensing Frameworks: The web platform uses Creative Commons Attribution 4.0 International (CC BY 4.0), while the CRAN package uses the CC0 1.0 Universal public domain dedication.
- Longitudinal Historical Depth: Incorporates economic history reconstructions spanning up to two centuries in single views.
Limits
- Secondary Compilation Dependency: Gapminder does not audit primary collection mechanisms; revisions or errors in source agency reports directly impact published series.
- Data Imputation in Historical Series: Broad historical timelines rely on regional model estimates and linear interpolations between benchmark years rather than annual censuses.
- Frozen Pedagogical Package Scope: The CRAN package is an educational excerpt based on spreadsheets compiled circa 2010; it is not maintained as a live monitor for formal econometrics.
- Geographic Boundary Shifts: Long-run series aggregate historical entities whose political borders have changed over time, requiring care when modeling geographic cohorts.
Alternatives
Analysts requiring demographic or economic indicators should evaluate repositories based on whether their goal is official reporting, scholarly synthesis, or classroom instruction. The table below outlines core alternatives when considering how to choose an open data repository:
| Repository | Governing Organization | Primary Role | Update Cadence | Data License |
|---|---|---|---|---|
| Gapminder | Gapminder Foundation (Sweden) | Curated secondary aggregation and pedagogical R data | Periodic indicator revisions (R package frozen) | CC BY 4.0 (Web) / CC0 (R Package) |
| World Bank Open Data | World Bank Group | Primary multilateral development and economic indicators | Quarterly and annual releases | CC BY 4.0 |
| Our World in Data | Global Change Data Lab / University of Oxford | Research synthesis, empirical articles, and GitHub data tables | Continuous thematic updates | CC BY 4.0 |
| UNdata | UN Statistics Division | Official multilateral statistical repository | Varies by UN agency submission cycle | Open access / Agency terms |
Frequently Asked Questions
Is Gapminder data free to use in academic publications?
Yes. Gapminder web materials and tables are licensed under the Creative Commons Attribution 4.0 International license (CC BY 4.0). You may share and adapt the material for non-commercial or commercial purposes provided you credit Gapminder and indicate if changes were made.
What is the required citation format for Gapminder datasets?
Under Gapminder licensing rules, unmodified use must state: “FREE TO USE! CC-BY GAPMINDER.ORG” with a link to gapminder.org. Modified datasets must state: “Based on free material from GAPMINDER.ORG, CC-BY LICENSE”. Custom citations must include the word “free”, the link to Gapminder, and the CC-BY designation. When reporting empirical data, follow established principles on how to write a data availability statement for reproducibility.
Can the CRAN gapminder R package be used for formal econometric research?
Package maintainer Jennifer Bryan notes that the CRAN gapminder package is an educational excerpt reflecting spreadsheets compiled circa 2010. It is designed for teaching and code examples rather than empirical econometrics. Primary analyses should draw directly from official custodian repositories cataloged in resources such as Google Dataset Search.
How should the gapminder R package be cited in code and software papers?
Attributions should cite Jennifer Bryan alongside both the CRAN package DOI 10.32614/CRAN.package.gapminder and the permanent Zenodo archive DOI 10.5281/zenodo.594018. Calling citation("gapminder") in an R session yields the standardized BibTeX reference.
Sources
- Gapminder Foundation. “History.” Official Foundation Charter and Background. URL:
https://www.gapminder.org/about/about-gapminder/history/. - Gapminder Foundation. “Free Material & Terms of Use.” Creative Commons Attribution 4.0 Policies. URL:
https://www.gapminder.org/free-material/. - Gapminder Foundation. “Data Documentation & Indicators Catalog.” Indicator Provenance and Sources. URL:
https://www.gapminder.org/data/documentation/. - Bryan, Jennifer. “Package ‘gapminder’: Data from Gapminder.” Comprehensive R Archive Network (CRAN), Version 1.0.1 (2025-06-12). DOI:
10.32614/CRAN.package.gapminder. - Bryan, Jennifer. “gapminder: An excerpt from the Gapminder data.” GitHub Repository and Package Vignette. Zenodo DOI:
10.5281/zenodo.594018. URL:https://github.com/jennybc/gapminder.







