I want to know if there exists a way to visualize in 3D the clusters from Mclust. I know you can visualize in 2D the clusters, but I am curious about adding the 3rd dimension. How do you do that?
library(mclust
library(factoextra)
df<-data.frame(scale(iris[,-5]))
co<-Mclust(df, G=1:5)
fviz_mclust(co, "BIC", palette = "jco") # visualize optimal model and BIC values
fviz_mclust(co, "classification", geom = "point") # visualize clusters in 2D