The tabplot command displays categorical variables in the form of a table using Stata's graphical interface. It is similar to the catplot command. To use this command in Stata you will first need to download it from the SSC using the following command:
To generate this graph in Stata, use the following commands:
For a comprehensive exploration of the many Stata graph commands and options, check out the book A Visual Guide to Stata Graphics, 3rd Edition.