function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Biologica Sibirica', 1], ['Acta Entomologica Musei Nationalis Pragae', 3], ['Bulletin of the American Museum of Natural History', 1], ['C. G. Proft', 1], ['C. G. Proft, Fil. et Soc.', 5], ['C. Reichard', 1], ['Entomo Helvetica', 1], ['Gottl. Friedr. Schniebes', 1], ['Linzer biologische Beiträge', 3], ['Proft et Storch', 2], ['Zoosystema', 2], ['Zootaxa', 10] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=31)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 12, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);