piechart

1.0.0 • Public • Published

piechart

Piechart on an HTML canvas.

screenshot

This module is based on this blogpost

Usage

var piechart = require('piechart');
 
piechart(document.getElementById("piechart"), [
  {value: 100, color: '#800000'},
  {value:  80, color: '#5252CC'},
  {value: 180, color: '#00A37A'}
]);

License

MIT

Package Sidebar

Install

npm i piechart

Weekly Downloads

2

Version

1.0.0

License

MIT

Last publish

Collaborators

  • sorribas