Create a Pie chart using the SQL macro