Although I don’t have my code ready to easily share yet, I did a little digging and found a good functional example you could use to create something similar. Globe texture I “borrowed” from the online SpaceX ISS Docking Simulator (you can use inspector to find it in the sources).

Three.js Rotating Globe Example Code

GitHub-flavored Markdown & a sane subset of HTML is supported.