interactive fig class, applied to PCA too