Documentation for categorical graphical function