Some time ago I created a Jupyter Notebook based on plotly to create a 3D visualization of the boundaries of HEALPix pixels on the sphere.

The notebook is available on Gist at

See below the outputs ranging from Nside 1 to 8:

Nside 1

Nside 2

Nside 4

Nside 8