refactor piechart animation
(preference) refactor