normalizing chart data