I created a Stack Overflow with this question. Here is the codepen that I am working on. I want to get the width of the bar in the offset function after the chart animates. Is there a way to do that? Currently, with the animation on the width returns NaN.