added color logic to pie_chart