charts-pie

1.0.5 • Public • Published

A simple library for drawing pie chart with svg.

##Usage

import pie from "pie-charts";
const svg = pie({
  width: 200,
  height: 200,
  data: [{ value: 50 }, { value: 150 }, { value: 180 }]
});

document.getElementById("pie").append(svg);

Readme

Keywords

Package Sidebar

Install

npm i charts-pie

Weekly Downloads

1

Version

1.0.5

License

ISC

Unpacked Size

39.9 kB

Total Files

18

Last publish

Collaborators

  • charlie_wei