There is no direct implementation for mosaic plot in MATLAB.
A workaround for this issue would be to access the zip file “mosaic_plot.zip” containing scripts for finding mosaic plot from the following link:
mosaic_plot.zip is one of the several submissions in MATLAB File Exchange on MATLAB Central which is a forum for our product users to interact, exchange information and knowledge, without MathWorks' involvement. Feel free to contact the author of this submission directly for specific questions about the implementation.