function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annales de la Société entomologique de Belgique', 5], ['Arthropod Systematics & amp; Phylogeny', 12], ['Baltic Journal of Coleopterology', 13], ['Berliner Entomologische Zeitschrift', 8], ['Biodiversity Data Journal', 8], ['Entomo Helvetica', 7], ['Insect Systematics and Diversity', 28], ['Insecta Mundi', 123], ['Japanese Journal of Systematic Entomology', 11], ['Journal of Natural History', 71], ['LAMPYRID, volume 1 - 4', 6], ['The Coleopterists Bulletin', 6], ['ZooKeys', 25], ['Zoological Journal of the Linnean Society', 18], ['Zootaxa', 1092], ['Other (18)', 45] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=1478)', 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);