Tracing the elevation of the sun above the horizon (vertical -90 to 90 degrees above the horizon) throughout the year 2022 (horizontal January to December) - the horizontal middle line represents the horizon, so the sun is only visible if above the middle line, i.e., drawn in yellow (the lower part is also shown to show the symmetry of the apparent movement of the sun). The video above varies the latitude from 90°N to 90°S.
The static images below show the data for different fixed locations:
The underlying calculations of the sun position have been done using the nice and concise code given by
Python Sun Position for Solar Energy and Research | by John Clark Craig | Level Up Coding
(after conversion to Kotlin).