function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 55], ['Boletín Científico Centro de Museos, Museo de Historia Natural', 10], ['Caucasian Entomological Bulletin', 6], ['Check List', 14], ['Evolutionary Systematics', 35], ['Insecta Mundi', 53], ['Journal of Natural History', 10], ['Linzer biologische Beiträge', 72], ['Metamorphosis', 22], ['Revista Chilena de Entomología', 13], ['Sugapa Digital', 6], ['ZooKeys', 52], ['Zoological Journal of the Linnean Society', 9], ['Zoosystema', 29], ['Zootaxa', 675], ['Other (56)', 97] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=1158)', 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);