As for the 3D plot... here you go!
https://interconnected.org/more/2023/03/in_our_time-PCA-3D-p...
Basic PCA + Plotly is actually in OpenAI's official Python library (in `embedding_utils`) -- this plot is just the output from that.