This is all working out. However, I am trying to account for the possibility that these data visual blocks may be used more than once on a page. I was hoping to use the block ID as the HTML ID so that JS knows where to render the visuals.
Getting the block ID outside the block is doable. However, I also need to retrieve the block ID from within the block and render it as the ID the for the HTML root element.
I have not been able to find a built-in method or workaround that allows me to do so.