There is a tool Here that helps you calculate your risk. It gives some values and outputs the risk of heart attack which is called ASCVD. There are many cases in this dataset with their ASCVDs.
You can evaluate yourself in training a Machine Learning model that predicts ASCVD without knowing about the main algorithm. Share your notebook to have a good practice for both of us.