powered by
This function allows you to create 2 types of visuals: bar and line charts.
spir_visual( chart = "bar_1", indicator = "SPI", years = max(SPI_data$year), title = TRUE )
Type of charts.
An indicator from the Social Progress Index.
A chosen year
Chart title, set by default to TRUE
Chosen Graph
# NOT RUN { spir_visual(chart = "bar_1", indicator = "SPI", years = "2020") # }
Run the code above in your browser using DataLab