anychart.onDocumentReady(function () {
{name: "Company A", children: [
{name: "Technical", children: [
{name: "Sales", children: [
chart = anychart.sunburst(data, "as-tree");
chart.labels().position("circular");
chart.title().useHtml(true);
chart.listen("chartDraw", function () {
chart.title("Sunburst: Labels (Position = " +
chart.labels().position() + ")<br><br>" +
"<span style='font-size:12; font-style:italic'>" +
chart.container("container");
function labelsPosition(position) {
chart.labels().position(position);