This is my html:
<div class="bar no" style="width: 25.0916%;"></div>
I'd like to access the width size as a number or percentage.
I've tried some the following but the first returns nothing and the second returns the number in pixels.
width = this.getBBox().width
width = d3.select(this).style("width")
What can I use to return 500 or 25.0%?