function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['African Invertebrates', 8], ['European Journal of Taxonomy', 25], ['Far Eastern Entomologist', 62], ['Journal of Orthoptera Research', 46], ['Linzer biologische Beiträge', 20], ['Mémoires de la Societe de Physique et d\'Histoire Naturelle de Genève', 14], ['Mémoires du Muséum national d\'Histoire naturelle', 11], ['Orthopterists\' Society', 132], ['Raffles Bulletin of Zoology', 14], ['Revue suisse de Zoologie', 273], ['ZooKeys', 35], ['Zoological Journal of the Linnean Society', 11], ['Zoosystema', 40], ['Zoosystematica Rossica', 16], ['Zootaxa', 454], ['Other (17)', 45] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=1206)', 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);