visualize object as bar chart