View histogram in table format working