Make chart to calculate ratios correctly