Black Lives Matter. Please consider donating to Black Girls Code today.

3D Camera Rotation Help

I am making a 3D scatter plot, but I dislike having the z-axis pointing upwards by default. I would prefer if the y-axis were upwards, as in a Cartesian plane. However, I’m very unfamiliar with the usage of the camera vectors: up, center, and eye. Is there any way I can manipulate these to simply rotate the graph so that the y-axis is facing up?

is a good place to start.

Is there a Javascript version to the linked documentation?

I was able to use the page provided by Etienne. You just need to follow the JS notation.

example:
{layout:{scene:camera{center:{x:0, y:0, z:0}, eye:{x:0, y:0, z:0}}}}