Module # 11 assignment
> # Load required libraries
> library(ggplot2)
> library(ggthemes)
>
> # Sample data
> data <- data.frame(
+ x = rnorm(100),
+ y = rnorm(100)
+ )
>
> # Create scatter plot
> scatter_plot <- ggplot(data, aes(x = x, y = y)) +
+ geom_point() +
+ theme_tufte()
>
> # Display plot
> scatter_plot
Comments
Post a Comment