R’s built-in quakes dataset records 1,000 earthquakes near Fiji, each with a latitude, a longitude, a magnitude — and a depth, running from 40 km to 680 km below the surface.
On an ordinary map that fourth variable has to be faked with colour, because a map only has two dimensions to spend. You can see that depth varies, but you cannot see the shape it makes.
These earthquakes are not scattered at random. They mark the Pacific Plate sliding beneath the Australian Plate, and that slab is a genuinely three-dimensional object: a sheet of rock, tilted, descending hundreds of kilometres into the mantle.
So plot it in three dimensions and let the reader turn it around.