anychart.onDocumentReady(function () {
var chart = anychart.pyramid([
{name: 'Fantasy', value: 637166},
{name: 'Science Fiction', value: 721630},
{name: 'Detective', value: 148662},
{name: 'Classics', value: 78662},
{name: 'Textbooks', value: 90000}
chart.title('Create a Pyramid chart');
chart.container('container');