Step Progress Bar based on data with animated transitions. setInterval is just for demonstration, use updateProgressBar(element) instead.