I would like to visualize my data in a scatterplot3d

On my X and Y axis, I would like the same labels. Something like this:

x<-c("A", "B", "c", "D")

y<-c("A", "B", "c", "D")


on the Z axis, I would like to show the comparison between labels in X and Y


A with A

A with B

A with C

A with D

B with B

B with C

B with D

C with C

C with D

D with D


I have such a time series for this comparison.

z<-c(0.25, 0.14, 0.15, 0.32, 0.79, 0.98,1.25, 0.68, 2.02, 0.64)

How can I draw such a 3d scatter plot in r?


thank you

	[[alternative HTML version deleted]]

