function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 744], ['Bishop Museum Press and E. J. Brill', 2], ['Bulletin of Entomological Research', 25], ['Contributions to Zoology', 13], ['European Mosqito Bulletin', 15], ['Insecta Mundi', 5], ['Insects of Guam I', 5], ['Journal of Natural History', 15], ['Laurentius Salvius', 7], ['Parasites & Vectors', 4], ['Proceedings of the Entomological Society of Washington', 4], ['Zoological Journal of the Linnean Society', 50], ['Zoological Systematics', 3], ['Zoosystematica Rossica', 47], ['Zootaxa', 681], ['Other (23)', 27] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=1647)', 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);