Bold red line is BPM. Green area is "burn fat", red area anaerobic, in between aerobic, above anaerobic the "warning" area. White line is speed, usually going to 0 when I make a photo. Black line is altitude.
The peak you see at 9pm is at 172 bpm, I think I have 180 set as bpm max.
hrmax = 178
hropacity = 0.1
g.append("rect").datum({y:hrmax*.9, height:hrmax*.8})
.attr("x", 0).attr("y", function(d) { return yHR(d.y) })
.attr("width", width).attr("height", function(d) { return yHR(d.height)-yHR(d.y) })
.attr("fill", "rgba(255,0,0,"+hropacity+")");
data {"ht":"20:59:36","lt":1724439576300,"to":7200,"pr":"ble","sn":"hrm","sv":{"hr":172}},
{"ht":"20:59:37","lt":1724439577350,"to":7200,"pr":"ble","sn":"hrm","sv":{"hr":172}},
{"ht":"20:59:38","lt":1724439578399,"to":7200,"pr":"ble","sn":"hrm","sv":{"hr":172}},
maybe 178 is too low or I'm sick.But knowing your max HR won't directly tell you the heart rate at which the majority of your power output is generated from anaerobic metabolism. There is only a loose relationship between those numbers, with significant variations between individuals. Again, if you want to actually know your numbers then you'll need to do a metabolic test in a real sports performance lab where they can measure inhaled and exhaled gasses while you pedal a stationary bike, along with data from power meter and HR sensors. Some consumer fitness trackers such as Garmin bike computers can also give you a rough estimate of heart rate zones based on your HRV response curve.