Skip to contents

Description Function to create and color achievement circles. The circles are placed next to the most recent achievement level in the main MDB table.

Usage

make_achv_shape(x)

Arguments

x

color hex code created by adorn_achievement function

Value

return gt html() code for an svg

Details

Returns a html formatting circle that can be embedded in gt object

See also

Other MDB helper functions: calc_growth(), format_indicator(), label_aggregation(), make_chg_shape()

Examples

if (FALSE) {
 achv_circle(glitr::scooter) %>% htmltools::html_print()
 df %>% mutate(achv_color = achv_circle(achv_color)) }