Expected Input Format

The PieChart expects the data to be structured in two columns:

  1. Column: Labels of the sections

  2. Column: Values of the sections (must be numeric)

The first row, the table headers, are ignored.

Adjusting Title and Pie Hole

<script>
PocketQuery.chart('PieChart', {
    title: 'Countries in Europe by population',
    pieHole: 0.2
});
</script>
CODE

The result for the same query is this: