function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['African Invertebrates', 20], ['African invertebrates', 11], ['Arthropoda Selecta', 11], ['Biodiversity Data Journal', 148], ['Bulletin of the National Science Museum, Series A (Zoology)', 8], ['European Journal of Taxonomy', 18], ['Far Eastern Entomologist', 15], ['Raffles Bulletin of Zoology', 10], ['Records of the Australian Museum', 23], ['Revue suisse de Zoologie', 13], ['State Fauna Series 4 Fauna of Meghalaya Part 2', 27], ['ZooKeys', 98], ['Zoological Systematics', 10], ['Zoosystema', 52], ['Zootaxa', 358], ['Other (19)', 56] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=878)', 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);