Refactoring Chart Totales with real data