Reddit user harpalss used animation software D3 to create a beautiful visualization of the changing patterns of daylight in one year. This is how the user describes it:
Equation to calculate the hours of daylight for a given day of year and latitude can be found here. The animation was built with D3.
Both the northern and southern hemispheres experience longer and shorter days, depending on the time of year. That means less daylight right now (late November) for those in the United States and Canada and longer days for those in South America.
As Visual Capitalist accurately describes the data visualization:
Daytime is shorter in winter than in summer, for each hemisphere. This is because the Earth’s imaginary axis isn’t straight up and down, it is tilted 23.5 degrees. The Earth’s movement around this axis causes the change between day and night.
During summer in the Northern Hemisphere, daylight hours increase the farther north you go. The Arctic gets very little darkness at night. The seasonal changes in daylight hours are small near the Equator and more extreme close to the poles.