Pulse sensor not showing data

the sensor is not showing the data at all

Where is the sensor supposed to show the data? That statement makes no sense.

The microcontroller can read data from the senor and show that data somewhere.

IF you have written the code correctly. That you get nothing implies that you haven't.