Below you can see the front-view size comparison of the Sony RX100 VII and Nikon 1 J5. The Nikon 1 J5 is 4 mm narrower and 11 mm thinner than the Sony RX100 VII but it is also 2 mm taller.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.