better animations for bar chart and transitions between pie and bar