Plots several indicators' values over time, for a single country, as one line per indicator. Rows with missing values for the given filters are dropped before plotting.
Arguments
- mfi
Data frame of World Bank indicator values (long format, with
Country Name,Indicator Name,Year,valuecolumns).- country
Character. Country name to plot.
- indicators
Character vector of indicator names to plot.
- font_style
A
plotlyfont list (e.g.list(size = 20, color = "gray25")) applied to the chart's layout.
Examples
plot_indicator_comp(
mfi,
country = "Greece",
indicators = c("Population, female", "Population, male"),
font_style = font_style
)