This is just a quick proof of concept with some borrowed code from evanburnsdev F-22 project (maybe ask him how it works to make this kind of HUD). HTML/js HUD in TAA mode. https://youtu.be/cGZ3PHdDZGE ( btw a huge FPS improvement too)
He also uses other avionics in his project (MFD’s) https://forums.flightsimulator.com/t/f-22-project-working/