function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bulletin of the American Museum of Natural History', 2], ['Geodiversitas', 2], ['Handbook of the Mammals of the World – Volume 5 Monotremes and Marsupials', 75], ['Mammal Species of the World (1 st Edition)', 64], ['Mammal Species of the World (2 nd Edition)', 77], ['Mammal Species of the World: a Taxonomic and Geographic Reference (3 rd Edition), Volume 1', 105], ['Mammalian Species', 2], ['Records of the Australian Museum', 25], ['Zoosystema', 6], ['Zootaxa', 100] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=458)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 10, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);