function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Belgian Journal of Entomology', 1], ['Biodiversity Data Journal', 4], ['Bulletin of the Southern California Academy of Sciences', 1], ['Entomological Magazine', 1], ['Journal of Natural History', 39], ['Linzer biologische Beiträge', 1], ['Proceedings of the Entomological Society of Washington', 1], ['Zootaxa', 55] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=103)', 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);