The flourishcharts packages are provided by Canva as open source software under the MIT license(opens in a new tab or window).

gapminder

Example dataset from Gapminder.

Flourish charts comes with some example data from Gapminder (gapminder.org(opens in a new tab or window)) that you can use for experimenting with the Flourish charts libraries.

Usage

from flourishcharts.datasets import gapminder
gapminder
PYTHON
library(flourishcharts)
gapminder
R

Columns

  • country: Country name, listed in alphabetical order starting with Afghanistan. 142 countries are listed in the data.
  • continent: Continent name.
  • year: Year the data was collected.
  • lifeExp: Life expectancy of people in that country in the given year.
  • pop: Population of country
  • gdpPercap: GDP per capita

Module Source

  • R: R_package/R/data.R
  • Python: python_package/flourishcharts/data/gapminder.csv