<div id="container"></div>
html, body, #container {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
anychart.onDocumentReady(function () {
// create data
var data = [
{x: "A", value: 637166},
{x: "B", value: 721630},
{x: "C", value: 148662},
{x: "D", value: 78662},
{x: "E", value: 90000}
];
// create a chart and set the data
var chart = anychart.pie(data);
// set the position of labels
chart.labels().position("outside");
// configure connectors
chart.connectorStroke({color: "#595959", thickness: 2, dash:"2 2"});
// disable the legend
chart.legend(false);
// set the chart title
chart.title("Pie Chart: Outer Labels");
// set the container id
chart.container("container");
// initiate drawing the chart
chart.draw();
});