function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Zoologica Sinica', 1], ['Biodiversity Data Journal', 1], ['Bulletin of the Department of Zoology University of the Panjab (New Series)', 1], ['Japanese Journal of Zoology', 2], ['Proceedings of the Helminthological Society of Washington', 1], ['Vestnik Zoologii', 1], ['Zoodiversity', 2], ['Zoologische Jahrbuecher Abteilungen für Systematik', 5], ['Zootaxa', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=15)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 9, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);