Description Usage Arguments Value Examples
Adds text to the histograms or points.
1 | text_cuckoo(lbl, font_family = "Tahoma", hjust = 1, ...)
|
lbl |
Column value to be displayed as label. |
font_family |
Font family. Defaulted to Tahoma. |
hjust |
Horizontal justification as Left Justified. |
Returns the text
1 2 3 4 5 6 | census %>%
ggplot(aes(x = State, color = State)) +
geom_point(stat = "count", size = 8) +
labs_cuckoo(title = "County Frequency by State", subtitle = NULL, xlab = "State") +
text_cuckoo("..count..", color = "black", hjust = 0.5) +
theme_cuckoo(font_family = "Tahoma",legend_position = "none", axis.text.x = element_text(angle = 45, hjust = 1))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.