format data for visual display