function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['European Journal of Taxonomy', 4], ['Quarterly Journal of the Geological Society, London', 1], ['Reports of Science Research Voyage of H. M. S. Challenger. Zoology', 2], ['Revue Suisse de Zoologie', 1], ['ZooKeys', 2], ['Zoological Journal of the Linnean Society', 12], ['Zoosystema', 55], ['Zootaxa', 124] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=201)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 8, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);