function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Entomologica Musei Nationalis Pragae', 8], ['Alpine Entomology', 9], ['Australian Journal of Entomology', 2], ['Biodiversity Data Journal', 4], ['Bulletin of the United States National Museum', 4], ['European Journal of Taxonomy', 11], ['Far Eastern Entomologist', 3], ['Fragmenta Faunistica', 19], ['Insecta Mundi', 32], ['Journal of Natural History', 124], ['Pacific Science', 6], ['Proceedings of the Linnean Society of New South Wales', 10], ['Transactions and proceedings of the New Zealand Institute', 4], ['Zoosystema', 29], ['Zootaxa', 531], ['Other (9)', 13] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=809)', 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);