function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Biologica Venezuelica', 1], ['Biodiversity Data Journal', 5], ['Bulletin of the American Museum of Natural History', 2], ['Entomo Helvetica', 3], ['Fain et Compagnie', 1], ['Fragmenta entomologica', 3], ['Journal of Natural History', 2], ['Linzer biologische Beiträge', 1], ['Officina Libraria Kortii', 1], ['Supplementum Entomologiae systematicae', 3], ['Systematic Entomology', 1], ['The Ohio Journal of Science', 1], ['ZooKeys', 1], ['Zoosystema', 1], ['Zootaxa', 7] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=33)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 15, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);