Possible Duplicate:
Pie chart with jQuery
I searched for a jQuery plugin which will help me to create pie charts and I found some which will help. But what I also want is to attach click function event handler for each sector of the pie chart.
Possible Duplicate:
Pie chart with jQuery
I searched for a jQuery plugin which will help me to create pie charts and I found some which will help. But what I also want is to attach click function event handler for each sector of the pie chart.
You should try Google charts. I have used that in one of my project, Google charts are easy to integrate and customizable. Try this
d3.js with NVD3.js:
http://nvd3.org/ghpages/scatter.html
Thing of beauty. And yes they have click features, including deep drills and reorientation, pivot and OLAP-style functionality.
You can use jquery's jqplot plugin http://www.jqplot.com/. It is free and can be modified easily to your needs, it has plenty of examples.
This is also completely HTML5, just throw it an HTML table
and some options and then it'll turn it into a chart. You just need to include type: 'pie'
in the options
.
ALthough you don't get the interactivity you are after, sadly. It can be added though, using this improved version: https://github.com/irae/jquery-visualize
This will definitely help you.
You can download library file and sample code from here