function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bulletin of Entomological Research', 1], ['Bulletin of the National Science Museum, Series A (Zoology)', 5], ['Persian Journal of Acarology', 2], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 11], ['Proceedings of the American Philosophical Society', 1], ['The American Journal of Science, series 2', 2], ['Transactions of the American Philosophical Society', 3], ['Veröffentlichungen des Instituts für Meeresforschung Bremerhaven', 6], ['Zootaxa', 50] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=81)', 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);