How to make everything inside a 3D box visible and outside of 3D box invisible

I managed to get this working! Thanks. My boss wants to recreate the following image with an ability to show various water activity (Dams, floods,etc) on the surface. I have no idea where to start and thought maybe some kind of render volume that only renders what’s inside it would be something I could do. However, if I can make this same effect apply to things on the land surface, then I should be good. Any pointers? Is a render volume even possible? Thanks for your help.