function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Backhuys', 2], ['Bishop Museum Bulletin in Entomology', 4], ['Bulletin of the American Museum of Natural History', 3], ['Carolum Reichard', 2], ['Deutsche Entomologische Zeitschrift', 8], ['Eberhard Klett et Franck', 6], ['Far Eastern Entomologist', 3], ['Fauna of New Zealand', 3], ['Insecta Mundi', 9], ['Ioannis Thomae Trattner', 2], ['Journal of Natural History', 17], ['Laurentius Salvius', 38], ['Palaeoentomology', 4], ['Zoological Systematics', 6], ['Zootaxa', 299], ['Other (18)', 22] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=428)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 16, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);