anychart.onDocumentReady(function () {
{ x: 'Traffic', value: 56 },
{ x: 'Child Care', value: 44.8 },
{ x: 'Transp.', value: 27.2 },
{ x: 'Weather', value: 19.6 },
{ x: 'Overslept', value: 11.4 },
{ x: 'Emergency', value: 6.6 }
var chart = anychart.pareto(data);
chart.title('Pareto Chart of Late Arrivals by Reported Cause');
chart.yAxis(0).title('Defect frequency');
chart.yAxis(1).title('Cumulative Percentage');
chart.getSeriesAt(0).tooltip().format('Value: {%Value}');
.format('Cumulative Frequency: {%CF}% \n Relative Frequency: {%RF}%');
chart.container('container');