Cut the chicken and onion into bite-sized pieces.
In a pan, add soy sauce, mirin, sugar, and water, and bring to a boil.
Add the onion and chicken to the pan and cook until done.
Beat the eggs and pour them evenly over the pan.
Cook on low heat until the egg is softly set but still slightly runny.
Place rice in a serving bowl and top with the cooked ingredients.