hygplot is a Python-based interactive 3D star map visualization tool that uses Plotly to display the positions, colors, and names of stars in a user-friendly interface. The star data is retrieved from the HYG Database, and the stars are color-coded based on their spectral types.
- Interactive 3D star map
- Star sizes based on absolute magnitude
- Star colors based on spectral type
- Star name labels
To install [Program Name], please follow these steps:
- Clone the repository:
git clone https://github.com/jswhitten/hygplot.git
- Create a virtual environment and activate it:
python -m venv venv source venv/bin/activate # On Windows, use "venv\Scripts\activate"
- Install the required dependencies:
pip install -r requirements.txt
- Run the program:
python main.py
- Open the generated HTML file with your preferred web browser to view the 3D star map.
- Python 3.7+
- Plotly
- Pandas
- The HYG Database: https://github.com/astronexus/HYG-Database