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

Dependencies (0)

    Dev Dependencies (1)

    Package Sidebar

    Install

    npm i piechart

    Weekly Downloads

    4

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • sorribas