Added transition animation for bar chart.