The Hipparcos Main Catalogue contains 118218 stars, which are available to be analyzed from the Vizier database.
Using Python, we will replicate The Hertzsprung-Russell Diagram to show the relationship between temperature and luminosity or the absolute magnitude and color index of stars from the catalog.
As our output, we produced two colored HRDs using RdYBu_r colors
and using the B-V color index;
and subplots for the spectral type of stars.