Creating a pie chart for an app

Posted by jhodgson4 on Stack Overflow See other posts from Stack Overflow or by jhodgson4
Published on 2013-11-10T15:50:12Z Indexed on 2013/11/10 15:52 UTC
Read the original article Hit count: 214

I'm developing an app which requires a pie chart to display a set number of modules. The modules need to be clickable, sending a value to the database for how many times the module has been clicked. The slices will change color etc depending on this database value. The slices will always be equal in size.

All simple stuff.

My question is what charting system would you use. I've been looking at google charts but I have no way of registering a value in a slice without changing its 'weight' in the chart. So ideally I would like to add data-stage="2" to each slice that I can access with a custom method.

Also google charts seems quite heavy for what I need?

Any advice would be greatly appreciated.

Joe

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about svg