swtiched from setInterval to requestAnimation
starting logic to stop requestAnimationFrame when graph is fully rendered
rough but working animation request stops when all bars are renderd
fixed bad merge