1.0.5 • Published 3 years ago
charts-pie v1.0.5
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);