add categorical view