Komunikace s daty v Tidyverse
Timo Grossenbacher
Data Journalist


ggplot(plot_data) +
geom_histogram(aes(
x = working_hours)) +
labs(x = "Working hours per week",
y = "Number of countries") +
theme(
text = element_text(
family = "Bookman",
color = "gray25")
)

ggplot(plot_data) +
geom_histogram(aes(
x = working_hours)) +
labs(x = "Working hours per week",
y = "Number of countries") +
theme_classic()

ggplot(plot_data) +
geom_histogram(aes(
x = working_hours)) +
labs(x = "Working hours per week",
y = "Number of countries") +
theme_classic() +
theme(
text = element_text(
family = "Bookman",
color = "gray25")
)

?theme
axis.title
popisek osy (element_text; dědí z text)
axis.title.x
popisek osy x (element_text; dědí z axis.title)
axis.title.x.top
popisek osy x nahoře (element_text; dědí z axis.title.x)
axis.title.x.bottom
popisek osy x dole (element_text; dědí z axis.title.x)
element_text()
element_rect()
element_line()
element_blank()
ggplot(plot_data) +
geom_histogram(aes(
x = working_hours)) +
labs(x = "Working hours per week",
y = "Number of countries") +
theme(
text = element_blank()
)

Komunikace s daty v Tidyverse