Step 1. Add the macro to your table. Choose the handy way to do this:

Step 2. Select the chart type:

Step 3. Specify the labels and values columns:


Step 4. Set the chart size and select the colors: