In case you don`t know: there is a recorder app that does record the raw PPG data from the watch directly to a csv on PC or phone: https://banglejs.com/apps/?id=hrmaccevents
You can also check that code as an example.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Have a look here, that might be an example of what you search (access and graph raw and filtered online at watch display)
https://forum.espruino.com/conversations/372681/?offset=25#16390275
(just paste to WebIDE and send to watch to try)
In case you don`t know: there is a recorder app that does record the raw PPG data from the watch directly to a csv on PC or phone:
https://banglejs.com/apps/?id=hrmaccevents
You can also check that code as an example.
if you need to dig deeper, check the HRM calculation from raw in C here:
https://github.com/espruino/Espruino/blob/407dd17e0903840df724ebf25f83d2bb95863fb5/libs/misc/heartrate.c