Below you can see the front-view size comparison of the Nikon D3400 and Nikon D5200. The Nikon D3400 is 5 mm narrower and 2 mm thinner than the Nikon D3400 but they have the same height of 98 mm.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.