anychart.onDocumentReady(function () {
anychart.data.loadJsonFile(
'https://cdn.anychart.com/samples/general-features/load-json-data/data.json',
var chart = anychart.pie(data);
.format('{%Value} trn.n({%PercentOfCategory}%)');
.title('The global wealth')
.position('center-bottom')
.itemsLayout('horizontal')
chart.container('container');