function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Entomologica Musei Nationalis Pragae', 11], ['Bollettino della Società Entomologica Italiana', 1], ['Bulletin of the American Museum of Natural History', 80], ['Entomo Helvetica', 1], ['Insecta Mundi', 4], ['Species Diversity', 3], ['The Coleopterists Bulletin', 5], ['ZooKeys', 12], ['Zootaxa', 55] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=172)', 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);