function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Arthropod Systematics & amp; Phylogeny', 18], ['Biodiversity Data Journal', 40], ['European Journal of Taxonomy', 18], ['Journal of Hymenoptera Research', 15], ['Journal of Natural History', 44], ['Linzer biologische Beiträge', 52], ['Mémoires du Muséum national d\'Histoire naturelle', 88], ['New Zealand entomologist', 13], ['Occasional Papers of the Bernice P. Bishop Museum', 51], ['Papéis Avulsos de Zoologia', 73], ['Proceedings of the Hawaiian Entomological Society', 6], ['ZooKeys', 9], ['Zoological Journal of the Linnean Society', 10], ['Zoological Systematics', 8], ['Zootaxa', 1137], ['Other (20)', 44] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=1626)', 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);