Pie Chart
![](../__attachments/824377441/image-20201116-120855.png?inst-v=433bc3f0-bc97-4353-abda-1616a87dce0f)
Expected Input Format
The PieChart expects the data to be structured in two columns:
Column: Labels of the sections
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>
The result for the same query is this:
![](../__attachments/824377441/image-20201116-120904.png?inst-v=433bc3f0-bc97-4353-abda-1616a87dce0f)