data=read.table(file.choose(),header=T)
library(ggplot2)
#membuat scatter plot antara variabel age dan height
ggplot(data, aes(x = Age, y = Height)) +
geom_point() +
labs(
title = "Scatter Plot Age dan Height",
x = "Age",
y = "Height"
) +
theme_minimal()
#membuat scatter plot antara variabel age dan weight
ggplot(data, aes(x = Age, y = Weight)) +
geom_point() +
labs(
title = "Scatter Plot Age dan Weight",
x = "Age",
y = "Weight"
) +
theme_minimal()
#membuat scatter plot antara variabel height dan weight
ggplot(data, aes(x = Height, y = Weight)) +
geom_point() +
labs(
title = "Scatter Plot Age dan Height",
x = "Height",
y = "Weight"
) +
theme_minimal()
#membuat scatter plot antara variabel height dan weight