You want to display the values in a column as a pie chart.
The examples below will walk you through the steps to create Klips with full-frame pie charts using example Klips. You can also download a finished sample Klip instead.
<setup>
<chart>
<type>pie</type>
<categorylabels>my_category_column_name</categorylabels>
<series>my_number_column_name</series>
</chart>
</setup>
The following examples use a static XML file located at http://www.klipfolio.com/static/klips/samples/piechart/data.xml as their content source.
1. Build a Klip with the data you will want to display as a full-frame pie chart. For example, here is a Klip displaying data on 10 products that looks like this when it is loaded: piechart1.klip

2. Add the <chart> block in the Klips's <setup> block. In it, specify the <type> of the chart, the name of the column to use for the <categorylabels>, and the name of the column to display as slices (<series>).
For example, to turn piechart1.klip into a full-frame pie chart using the values in the "Product" column as the category labels and values in the "Units" column as bars, add the following code in its <setup> block, then save and reload it:
<chart>
<type>pie</type>
<categorylabels>name</categorylabels>
<series>units</series>
</chart>
Note that we use the names of the columns as specified in the <style> block, which are case sensitive. The Klip should now look like this:

When you hover over a slice, the corresponding item in the legend will be highlighted, and vice versa.
1. Make a drilldown Klip. (For details, refer to the how-to article, Displaying values in a drilldown Klip.)
For example, here is a drilldown Klip using the same content source the example above: piechart2.klip. When loaded, it should look like this.

Try clicking on the Appliances item to drill down.
2. If you add the same <chart> block as in the previous example, this Klip will look exactly the same (except for the Klip's title) because it is using the same columns for <categorylabels> and <series>:

<chart>
<type>pie</type>
<categorylabels>category</categorylabels>
<series>units</series>
</chart>
Now, the Klip should look like this, with 4 categories when it is loaded:

You can click on any category drill down into it. For example, clicking on the bar for Appliances will result in this:
