function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 336], ['Bulletin of the American Museum of Natural History', 27], ['E. W. Janson', 11], ['Far Eastern Entomologist', 138], ['Insecta Mundi', 12], ['Journal of Hymenoptera Research', 55], ['Journal of Melittology', 19], ['Journal of Natural History', 24], ['Journal of the Proceedings of the Linnean Society of London, Zoology', 12], ['Linzer biologische Beiträge', 275], ['Papéis Avulsos de Zoologia', 15], ['Records of the Zoological Survey of India', 9], ['ZooKeys', 102], ['Zoological Journal of the Linnean Society', 29], ['Zootaxa', 1896], ['Other (25)', 83] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=3043)', 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);