improve animations and formatting for optimized chart