<div id="container"></div>
html, body, #container {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
// create data
var data = [
{x: "CMC", value: 60},
{x: "Expert", value: 30},
{x: "Support", value: 10}
];
// create a chart and set the data
chart = anychart.pie(data);
// set chart title text settings
chart.title('Equipes de resolution observees');
// set legend title text settings
chart.legend()
// set legend position and items layout
.position('center-bottom')
.itemsLayout('horizontal')
.align('center');
// set the container id
chart.container("container");
// initiate drawing the chart
chart.draw();