If you want to decompose high dimensional data into two or three dimensions to visualize it, what should you do? A common technique is PCA. Even though PCA is useful, I always find it complicated to create a PCA plot until I found this doc in Yellowbrick.
I really recommend using this tool if you want to visualize PCA in a few lines of code