Is this what you are trying to achieve ?
library(ggplot2)
df <- data.frame(
Dim1 = c("A","A","A","A","A","A","B","B"),
Dim2 = c(100,100,100,100,200,200,100,200),
Value = sample(1:10, 8)
)
df$index <- c(1,2,3,4,1,2,1,1)
ggplot(df,aes(x=index,y=Value))+geom_point()+facet_wrap(Dim1~Dim2)
The output is as follows:
