I didn't know this either! I once made an interactive dashboard and couldn't figure out how to add an on-click action to my SVG heat map. So I used the same coordinates that I used for the heat map to make a bunch of invisible divs on top of the SVG, and added on-click actions to those divs.