add category histogram support
Merge pull request #25 from esteit/histogram

add category histogram support