function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['African Invertebrates', 12], ['Biodiversity Data Journal', 33], ['Caucasian Entomological Bulletin', 13], ['Dipteron', 13], ['Entomo Helvetica', 37], ['European Journal of Taxonomy', 11], ['Far Eastern Entomologist', 8], ['Journal of Natural History', 14], ['Raffles Bulletin of Zoology', 32], ['Records of the Australian Museum', 51], ['Schultz-Wundermann', 43], ['Transactions of the American Entomological Society', 17], ['ZooKeys', 60], ['Zoological Journal of the Linnean Society', 12], ['Zootaxa', 664], ['Other (21)', 61] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=1081)', 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);