Skip to contents

The countries of countries() colored by the value of the indicator, as in golemworldbank: from red for the lowest through white to dark blue for the highest, on one scale for all the years.

Usage

plot_map(data, indicator)

Arguments

data

Data frame from get_indicator().

indicator

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

Value

A plotly object.

Examples

plot_map(saved_indicator("unemployment"), "unemployment")