http://jsfiddle.net/bast64/PTLeX/11/
Functions:
- pie(data, size);
- donut(data, size, width);
Parameters:
- data : array of objects, each object represents a portion of the element with as parameters:
- val: number
- color (optional): color of the portion
- class (optional): class of the portion
- size : height and width of the object in pixel
- width (optional): thickness of the donut