This project constructs a stellar color–magnitude Hertzsprung–Russell (HR) diagram using real observational data from Gaia DR3.
The workflow includes:
- Querying and exporting Gaia catalog data using TOPCAT
- Cleaning data using parallax and photometric error filters
- Computing stellar distances and absolute G magnitudes
- Deriving the BP–RP color index
- Visualizing stellar populations using a hexbin density plot
- Overlaying a theoretical White Dwarf cooling sequence for interpretation
- Main Sequence — dense diagonal stellar population
- Red Giant Branch — luminous, cooler stars
- White Dwarf region & cooling trend — hot, faint stellar remnants
- Python
- Pandas, NumPy, Matplotlib
- TOPCAT for data querying/export
The HR diagram is saved as gaia_hr_final.png