adding animated bar chart