Is there any software for mac to create this particular 3d histogram:
given a matrix of value?
I've tried with Numbers but it doesn't have 3d histograms.
Mathematica is able to do this.
Grapher is probably the app you are looking for. It is already installed on your Mac by default.
Gnuplot mught be ablo to do this. I've seen pictures where something like this is done:
Microsoft Excel works for this sort of graph as well.
R Studio (the wonderful IDE for R) can do this. It's the kind of the thing it was meant to do really. Free, open source and, IMO, easier to grasp than Octave (and free, wherease Matlab is most definitely not). You'll likely want the RGL addon to do a 3D plot.