function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Amurian Zoological Journal', 1], ['Beiträge Zur Entomologie = Contributions to Entomology', 8], ['Biodiversity Data Journal', 18], ['Bulletin of the National Museum of Nature and Science. Series A, Zoology', 3], ['Deutsche Entomologische Zeitschrift', 6], ['Journal of Hymenoptera Research', 12], ['Journal of Species Research', 2], ['Linzer biologische Beiträge', 8], ['ZooKeys', 1], ['Zootaxa', 66] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=125)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 10, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);