How to show graph while detecting pulse

please help me sir I am really noob at this

When is our homework due?

the changes of every pulse

What does this mean? The Arduino can be programmed to read sensors. What kind of sensor are you reading? Sending the result of reading that sensor to the serial port is trivial. It's one line of code.