In this example I’ll use the CivicData SQL API to request and aggregate data from an open dataset, Atlanta Permit Activity March 2014, and display it in a simple pie chart using a single client side html file without any need for any server side processing.
In this example I used jQuery to handle the GET request from CivicData using the CKAN API. You will notice that I was able to initiate a request and receive the results right in the browser. To render the JSON response nicely I installed a Chrome extension called JSON Formatter.
I am using Google Charts to display the pie chart. Google Charts has a very nice library of interactive and customizable charts that are easy to implement and use.