histogram interface