function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['African Invertebrates', 11], ['Contributions to Zoology', 4], ['European Journal of Taxonomy', 23], ['Journal of Natural History', 72], ['Proceedings of the Japanese Society of Systematic Zoology', 7], ['Raffles Bulletin of Zoology', 16], ['Records of the Australian Museum', 16], ['Trans R Soc Edinburgh', 2], ['ZooKeys', 23], ['Zoological Journal of the Linnean Society', 9], ['Zoological Science', 5], ['Zoological Studies', 2], ['Zoosystema', 12], ['Zoosystematics and Evolution', 2], ['Zootaxa', 499], ['Other (11)', 11] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=714)', 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);