Skip to contents

The population aged 15 to 64 of a country since 1990, in millions, with its peak.

Usage

gph_hc_working_age(
  country,
  start = 1990,
  color = "#5b7fa6",
  peak_color = "#c03728"
)

Arguments

country

A string with the country name or iso code

start

The first year

color

Colour of the curve

peak_color

Colour of the peak and its label

Value

A highcharter graph

Examples

if (FALSE) { # interactive()
gph_hc_working_age("China")
}