function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bulletin of the American Museum of Natural History', 5], ['Deutsche Entomologische Zeitschrift', 2], ['F. W. Forstmann', 1], ['Journal of Natural History', 1], ['London and Edinburgh Philosophical Magazine and Journal of Science, Series 3', 8], ['Revista Brasileira de Entomologia', 1], ['ZooKeys', 7], ['Zoological Systematics', 4], ['Zootaxa', 76] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=105)', 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);