Add interacted SVG to erpnext form

Hi,

Guys, I have a challenge and I need help on this :eyes:
I have a custom doctype I need to add the below svg to the form

and this teeth is interaction with user, when user select any tooth will popup fields to fill it

finally, each tooth has data

ref: codepen

any help ?