function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Entomologica Musei Nationalis Pragae', 34], ['Arthropod Systematics & amp; Phylogeny', 4], ['Biodiversity Data Journal', 136], ['Ecologica Montenegrina', 11], ['Far Eastern Entomologist', 22], ['Insect Systematics and Diversity', 6], ['Insecta Mundi', 37], ['Linzer biologische Beiträge', 27], ['Nota Lepidopterologica', 17], ['Records of the Zoological Survey of India', 12], ['Vestnik Zoologii', 5], ['ZooKeys', 77], ['Zoological Journal of the Linnean Society', 12], ['Zoosystema', 50], ['Zootaxa', 1868], ['Other (18)', 24] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=2342)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 16, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);