Skip to contents

One line per country, and the EU-27 average as a dashed gray line, for comparison. Titled "Indicator: " and its name, as in golemworldbank.

Usage

plot_country_comp(data, countries, indicator)

Arguments

data

Data frame from get_indicator().

countries

Eurostat codes of the countries, such as c("EL", "BG").

indicator

The id of the indicator in indicators(), for the title and the unit.

Value

A plotly object.

Examples

plot_country_comp(saved_indicator("unemployment"), c("EL", "BG"), "unemployment")