function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Arachnology', 5], ['Arthropoda Selecta', 9], ['Biodiversity Data Journal', 225], ['Caucasian Entomological Bulletin', 8], ['Caucasiana', 5], ['Far Eastern Entomologist', 9], ['Journal of Natural History', 15], ['Raffles Bulletin of Zoology', 6], ['Transactions of the American Microscopical Society', 9], ['UPLB Museum Publications in Natural History', 7], ['ZooKeys', 159], ['Zoological Journal of the Linnean Society', 40], ['Zoological Systematics', 146], ['Zoosystema', 68], ['Zootaxa', 219], ['Other (36)', 59] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=989)', 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);