Simple Bar Chart
![](../__attachments/835518503/image-20201023-083539.png?inst-v=8192695b-8fe1-45db-a9c1-bf9ac0864119)
Using all defaults, the chart can be drawn by only a few lines of code:
<script>
PocketQuery.chart('BarChart');
</script>
This example implicitly uses our dummy data. If you want to reproduce exactly the result above you need to add the dummy data:
<script>
PocketQuery.chart('BarChart', {
dataTable: [['Month', 'Value'], // adding dummy data for testing; remove this attribute for productive use
['JAN-17', 52.1],
['FEB-17', 51.2],
['MAR-17', 51.7]]
});
</script>