How to rotate camera around a point

Does anyone know how to Rotate Camera around a point ,or Z-axis ,if possible plz show me some code?

like this pic , I want to rotate camera around my own scene data , how can I do that?

Do a search for “How to circle around a model/entity / viewer.flyTo() path”.
You do a lookAt() at each clock tick and adjust the heading with the time that has passed.

Willem