- Heroku: http://ng-donut.herokuapp.com/
bower install ng-donut
ngDonut is a tiny Angular and D3 component which renders a donut graph – which is capable of animation when the values change!
All that you need to do to begin is add the
donut node to the DOM and attach your dataset using the
myDataset should be defined as an array of values:
ngDonut currently supports the following attributes:
You should define your
colours attribute as an array of possible colours – otherwise
ngDonut will utilise D3's ordinal colours.