anychart.onDocumentReady(function () {
{x: 'Heart disease', value: 659041},
{x: 'Alzheimer disease', value: 150005},
{x: 'Cancer', value: 599601},
{x: 'Accidents', value: 173040},
{x: 'Kidney disease', value: 51567},
{x: 'Suicide', value: 47511},
{x: 'CLRD', value: 156979},
{x: 'Stroke', value: 121499},
{x: 'Diabetes', value: 87647},
{x: 'Influenza and pneumonia', value: 49783}
var chart = anychart.pareto();
chart.title('Number of Deaths for 10 Leading Causes of Death in U.S. in 2019');
chart.yAxis(0).title('Number of deaths');
chart.yAxis(1).title('Cumulative percentage');
chart.container('container1');