I am trying to recreate the effect in the image attached where there are lines swirling around a sphere. I have problems recreating the dotted lines. In the image they appear to be evenly distributed but when recreating dotted lines with a wave or checker texture on a sphere I get distortions from the sphere mapping where the gaps are not evenly distributed everywhere on the sphere. I also tried to map a texture of dotted lines on a sphere but this texture also gets distorted in a way where the gaps of the line are not evenly distributed. Is there a way in Blender to achieve this effect on the sphere of the image? Much appreciation in advance!

Update:
I was able to recreate the dotted line effect thanks to @vklidu. However I have a problem with the gradient on the emission material shader. Although I used exactly the same node setup as provided in the marked answer, there is no gradient effect. It looks like evee only renders two colors without any smoothness at all. I also tried to use cycles, but no luck. I am not sure what I am missing?
Update 2:
Here is the final result. Because this was mainly an exercise on recreating the effect I am pleased with the result.











