Hi, everyone. I have used the below script to get this plot. But now I want to reduce this distance between the plot and the y axis label, how it can be done? I want to remove empty space from both sides, from the beginning, and from the end. How can I remove the axis grid from the background?
library(readr) data <- read.csv("data.csv", header=TRUE, stringsAsFact=FALSE)
dfdata = data.frame(data)
dfdata
sizeRange <- c(8,30)
library(ggplot2)
ggplot(data, aes(x=10,y=Phylum)) + geom_point(aes(size = Total,alpha = 7,colour = "blue", stroke=2)) + scale_size_area(range = sizeRange) +theme(panel.background = element_blank())+ theme_minimal()+theme(legend.position = "none")