Learn R Programming

SDGdetector (version 2.7.3)

plot_sdg_bar: SDG bar plot

Description

SDG bar plot

Usage

plot_sdg_bar(data, sdg = "sdg", value = "value", quiet = FALSE)

Value

Returns the tool text outputs.

Arguments

data

Data frame as the input

sdg

Vector with SDG code to be visualized.

value

The value, e.g., number of SDGs, to be show in the thematic map

quiet

Logical. Suppress info message

Examples

Run this code
data("sdgstat")
plot_sdg_bar(sdgstat, sdg = "SDG", value = "Value")

Run the code above in your browser using DataLab