How do I improve the visibility of a mosaic plot in R

r
mosaic_plot

#1

Hello,

I am trying to see the distribution of data based on three attributes: CarType,JobClass and Gender.I have used table and mosaicplot in R,but not getting a proper output:

However the o/p that is coming is not proper:


As can be seen the job class on the left is not properly displayed.How can I improve the visibility of the plot


#2

Here, you may have to manually set the font size and colours for better visibilty.
Try shifting to ggplot. You will like it. For a brief tutorial, see:

Hope this helps!