I have successfully implemented rotation and animation for a 3D earth using three.js by applying a world map image texture to a sphere as detailed in the tutorial found at this specific link. My goal is to make each country on the globe clickable, so that when a user clicks on a country, its border will be highlighted and a pop-up will display the country's name. I believe I may need to utilize d3.js to load a GeoJSON file of countries and incorporate it as a mesh in three.js. However, I am unsure how to accomplish this through coding.
Can anyone provide assistance with this?