Currently, I am constructing a solar system simulation using ThreeJS. As part of the functionality, when I select a planet's name, the camera zooms in on that specific planet. My goal now is to create a visual element that consists of a 2D line originating from the center of the planet and extending towards some text displaying relevant information such as mass, speed, etc.
Could you provide guidance on how to implement this feature successfully?