I often use PCA(principal component analysis) to reduce dimension.
I do PCA using Python sklearn or R language.
Basic function of R “biplot” makes 2D chart.
It’s easy way to make biplot.
Today I found cool library of R, named “pca3d”.
Install is easy! Just type following command.
Now make chart.
I used iris data set for test.
> library(pca3d) > data(iris) > pca <- prcomp(iris[,-5], scale.=TRUE) > pca3d(pca, group=iris[,5], biplot=TRUE)  0.06599283 0.05354630 0.02004088 Creating new device
Hmm, 3D chart is useful to check the distribution of datapoint, but… I like 2D biplot. 😉
If reader who is interested in the library, please check following site.