Translating HTML coordinates to plot coordinates

Hi,

Would you be able to provide a minimal reproducible example:

Thanks