Implement mapper for pie chart