modified info box to address empty dataset and zero values