<div id="container"></div>
html, body, #container {
width: 500px;
height: 500px;
margin: 0;
padding: 0;
}
anychart.onDocumentLoad(function () {
// create an instance of a pie chart
var chart = anychart.pie();
// set the data
chart.data([
["Bilan Recent", 65],
["Non-assujetti", 17],
["Bilan Ancien", 14],
["Ne publie pas", 4],
]);
// set the container element
chart.container("container");
// initiate chart display
chart.draw();
});