function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['African Invertebrates', 8], ['American Museum Novitates', 333], ['Biodiversity Data Journal', 28], ['Bulletin of the American Museum of Natural History', 599], ['European Journal of Taxonomy', 5], ['Evolutionary Systematics', 36], ['Journal of Natural History', 6], ['Memoirs of Museum Victoria', 3], ['Phelsuma', 4], ['Raffles Bulletin of Zoology', 9], ['Records of the Western Australian Museum', 6], ['ZooKeys', 112], ['Zoological Systematics', 7], ['Zoosystematics and Evolution', 14], ['Zootaxa', 326], ['Other (12)', 14] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=1510)', 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);