Examveda

In ggplot2, how do you customize the appearance of the legend title?

A. labs(legend.title = "New Title")

B. legend_title("New Title")

C. theme(legend.title = element_text("New Title"))

D. scale_fill_discrete(name = "New Title")

Answer: Option A


This Question Belongs to R Programming >> Data Visualization With Ggplot2

Join The Discussion

Related Questions on Data Visualization with ggplot2