function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['African Invertebrates', 1], ['Bollettino di Zoologia', 3], ['Cahiers de Biologie Marine', 2], ['European Journal of Taxonomy', 27], ['Evolutionary Systematics', 7], ['Journal of Natural History', 15], ['Mikrofauna des Meeresbodens', 4], ['Proceedings of the Biological Society of Washington', 2], ['Raffles Bulletin of Zoology', 10], ['Transactions of the American Microscopical Society', 2], ['ZooKeys', 9], ['Zoological Journal of the Linnean Society', 19], ['Zoologischer Anzeiger', 7], ['Zoosystematics and Evolution', 8], ['Zootaxa', 670], ['Other (20)', 20] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=806)', 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);